How to inject any js file inside head tag in Laravel v9.19 in development server?
I'm using Laravel v9.19 and Vite v4.0.0. When I'm adding config.js file using @vite directive, it is always executing after all the html content is loaded. But, I'm trying to execute config.js file before all the html content is loaded.…