lightyrs / tabler-rubygem

Rubygem for https://tabler.github.io
MIT License
82 stars 27 forks source link

Precompile plugin.css #7

Closed tryice3 closed 6 years ago

tryice3 commented 6 years ago

Hello and thanks for the gem. Today I deployed my application on Heroku and all the css files that are under the plugins folder are not found. I imported them with @import "tabler.plugins". They are working fine if I set config.assets.compile = true, although it is not advised on production.

lightyrs commented 6 years ago

@fibice3 Thanks for reporting this. I suppose the solution here is to provide a precompiled version of all the plugins while still maintaining the ability to import specific plugins if needed. Does that sound right?

drale2k commented 6 years ago

+1 for this. I am importing the plugins via

@import "tabler";
@import "tabler.plugins";

And getting the following error for all plugins. This is just one of them /assets/tabler/plugins/maps-google/plugin.css 404 (Not Found)

lightyrs commented 6 years ago

This is being addressed by #8 (in progress).

lightyrs commented 6 years ago

This has been fixed in the latest release https://github.com/lightyrs/tabler-rubygem/releases/tag/0.1.3