So, here's the dilemma... I've spent almost a month on this project and I'm at a loss for what to do next. I came across a fantastic Bootstrap theme online that includes a plethora of JavaScript files. Wanting to build the website in Rails 6, I attempted to incorporate these JS files, only to find it challenging (to say the least). Initially, I tried adding the files to packs (there are roughly 10 JS files) and requiring them in application.js. However, nothing seemed to work; there was no progress whatsoever. Next, I attempted adding them to packs and using
<%= javascript_pack_tag 'the_js_file', 'data-turbolinks-track': 'reload' %>
for each individual file. After running rake assets:precompile, I still couldn't get any of the files to be included. Despite researching and reading through multiple articles (about 5 or 6), I haven't had much luck. If you don't have time for a full response, some guidance on what steps to take would be greatly appreciated. I fear that I may need to alter the code significantly, but the JS files I discovered are extensive, and I'd rather not go down that route. At this rate, switching back to Rails 4 is starting to seem like a more enticing option.