Share your code, how do you import your js compiled files, any console errors?
Laravel 9 Vite Bundled JS not running?
Hello! Any help would be much appreciated. I've searched the internet and chatgpt and i'm failing to find an answer.
I tried to setup a new Laravel 9 project. I've tried multiple ways of getting a Vue.js app running but to no avail.
Whatever code i put inside resources/js/app.js will not run.
The bundling works and the file generated and I can see in the html the relevant script tag.
However, the script tag has a type="module" in it.
I've tried using laravel/ui from a fresh proejct.
php artisan ui vue --auth
And when I login, it shows the page without vue.js example-components.
I have a suspicion it's to do with the type="module" props but i can't seem to find where to do something about it.
cheers!
Please or to participate in this conversation.