Closed marcusmotill closed 8 years ago
Please try pointing your bower.json to the "master" and let me know if that solves the error. Also, the latest version does point to the .less file instead of the .css file, so you may have to update your build script accordingly to get styles.
Probably the latter of the two, I don't do anything with less in my build. Will try tonight/tomorrow and let you know thanks for the quick reply!
On Tue, Jul 19, 2016, 3:41 PM Dan Blaisdell notifications@github.com wrote:
Please try point your bower.json to the "master" and let me know if that solves the error. Also, the latest version does point to the .less file instead of the .css file, so you may have to update your build script accordingly to get styles.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ManifestWebDesign/angular-gridster/issues/433#issuecomment-233758759, or mute the thread https://github.com/notifications/unsubscribe-auth/AHUVEil8Plkuai_0G-clQ6fDzC4c6WkYks5qXTZdgaJpZM4JQFAt .
@danomatic Curious why you decided to change bower to point at the less
file. Tools like wiredep, which is a bower bundler look at these main files and automatigically wires them up into the html page or minify thems into a single build, but it doesn't perform transformations like Webpack would. Honestly, I'm not sure why people mark non-browser deployables in the bower main
field, but even Bootstrap does this...
I agree with @danomatic even though I'm using less quite extensively in my project(s) I don't see why a project would specify a less file as the main deployable.
The change was actually unintentional and came with a PR. The author of the PR was fixing a warning about having "main" point to minified CSS. Latest release will address this by pointing to non-minified CSS in the dist directory.
After updating to v0.13.12 from v0.13.9 I got the following error:
And the grid items were no longer "Gridster-esque" they had bullet points and listed down vertically.
Here is my HTML code:
Here are my gridOpts:
Sample card item:
Let me know if you need anymore information, thanks