Reputation: 5283
Have anyone tried adding react-motion to a rails project? Have not seed any gems for this, but it would be kind of awesome to use it.
What are the steps I have to make to use it?
I have been trying to add all files to vendor/assets/javascrips and requiring them in application.js but the syntax used in those files is new to me.
Upvotes: 0
Views: 64
Reputation: 1951
One simple way to handle this kind of dependencies to the asset pipeline is using rails-assets here are the instructions for react-motion
https://rails-assets.org/#/components/react-motion
Upvotes: 2