You’re not receiving notifications from this thread.
@chris. What do you think about Bower to manage all the front-end stuff?
+1 for Bower, it's actually pretty straightforward to introduce in a Rails app.
Have you ever used https://rails-assets.org/ ?
Chris - how did you add the JS to the delete button in your code?
I'm trying to use sweet-alert-confirm gem to show the new alerts on standard delete links but I can't get the alert to show.
Looks like you don't use the sweet-alert-confirm gem but you're getting the results I want. Can you show the code?
If you want to use an external JS file you can just include the script tag that points to it in your layout.
The reason why you would want these inside your Rails app is that they can be included and minified inside your code reducing the number of files the browser has to download. It's faster and more efficient for your users which makes it a good idea.