If you are referring to the file
app/views/layouts/application.html.erb generated by
rails new, you can add
<script> tags in the
<head>just as usual.
Thanks! Just that I was wondering if that’s unconventional in rails. Seeing as webpacker is being used and all.
If the library you need is distributed as an NPM package, you could instead include it through your package.json.