I have a js vendor script called Corners.js located in /vendor/assets/javascripts/ How do i include the js vendor script?
Just include
//= require Corners.js
in application.js and let the Rails to do the job for you (it automatically includes vendor/assets).
If you are just creating the vendor/assets/javascripts
directory, you will need to restart your Rails server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With