Closed maxacarvalho closed 3 years ago
You need vue-loader 16+ for vue3 if I'm not mistaken. And by the way you can use Laravel Breeze to scaffold new Laravel app with inertia and vue3
Hi @bakanyaka thanks for your reply.
I got it working just now, I honestly don't know for sure what was the issue, since I basically rebuild the application structure from the scratch. But I can see that I'm now using "vue-loader": "^16.2.0"
so yes, that might be the issue.
Versions:
@inertiajs/inertia
version: ^0.8.7@inertiajs/inertia-vue3
version: ^0.3.13Describe the problem:
I am simply installing Inertia for the first time and trying it out in a new project.
I got it working with Vue2 but since Tailwind released the Vue components I would like to use Vue3 instead (Tailwind components require Vue3).
So, when I try to run in the browser I just get a bunch of errors,I already tried many things and nothing will work. The exact same project works just fine with Vue2.
Errors from the browser 👇🏽
Steps to reproduce:
package.json
webpack.mix.js
app-inertia.js
I'm just trying to load one page
Index.vue
:Thanks in advance.