Add MDBootstrap to Rails 6 project

I started learning Rails this month and have installed Rails 6. I want to add MDBootstrap to my project but there are no guides on how to do it and I am very confused. I am coming from a laravel background where I would simply use a link/script tag. However, here i am seeing javascript pack tag and so many different directories. Can anyone assis?

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.

1 Like

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.