I am installing the gem awesome-share-buttons to implement social media share buttons on my rails app. I noticed it calls for adding this line:
#= require awesome-share-buttons
to your application.coffee file, however, that doesn't exist. Would I make this file and add it there?
After some research, I realized you can simply place it inside of your application.js file and change
#= require awesome-share-buttons
to
//= require awesome-share-buttons
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.