Add javascript code once and globally available

I am using Laravel/Quasar. I need a javascript code to be available for all pages. I can use “Page Custom JS” but I would have to add it to all pages. Where can I insert the code once so that it is available to all pages?

Unlike Laravel + Boostrap, the universal JS is not available, you will have to add your code after publishing you project.