-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jstree style sheets are not included in assets #5
Comments
I have the same issue on my remote test-sever. |
As a workaround I let nginx serve the missing style.css file directly. Couldn't figure out any other solution. |
Because my Rails app is not served on the root-uri but on a sub-uri, I removed the first '/' slash in the path:
That solved it. |
Where did you put that statement in? |
try write only config.assets.precompile += %w(jstree-themes/**/*) it work in rails 3.2 |
I can confirm that editing your |
I'm having a similar issue. None of the suggestions worked for me. I'm on Rails 4.1.4 I'm getting:
Any ideas? |
I think in Rails 4, the assets are always precompiled with the cache busting string incorporated into the file name. So you can no longer reference assets without using the the helpers to generate the URL (e.g. Also, the author of this gem hasn't updated it for a while. The latest version of jstree is 3.0.8 by the looks of things. It might be better to just integrate it yourself under |
I have the issue that the jstree own CSS files are not included in the asset directory. The individual images of the various themes are under assets/jstree-themes, but the CSS files such as style.css is missing.
Is this a config issue on my side?
Txs for any response
The text was updated successfully, but these errors were encountered: