-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Issue - Particles is loaded but particles.json is ignored why? #157
Comments
Resolved: remove the load/json part from application created main.js in assets/javascripts. and in main.js
did not quite solve why the load function did not work as it should but at least it works by doing it this way, hope this helps someone else as well. |
I'm having the same problem, and I solved it in the same way! |
working with Rails turbolinks $(document).on('turbolinks:load', function() {
particlesJS('particles-js', {
//......
});
}) |
|
particlesJS.load( ); instead of particlesJS( ); works when loading configs from json. @srijaydeathwish Can you point out Where does this need to be changed? |
@qnoox solution worked great! Thx! |
Issue - Particles is loaded but particles.json is ignored why?
Hello, working on a ruby on rails app, have added the load function into application.
in assets/particles.json, and assets/particles.js
It loads up and runs but as said the json config file is ignored.
what am i missing?
The text was updated successfully, but these errors were encountered: