We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When setting up Vue 3 I had an issue when setting up for laravel with Vite. In the app.blade.php the Mix files had to be removed and replaced with:
@Vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
And inside the resource/js/app.js the resolve: had to be changed to 'resolve: (name) => import(./Pages/${name}.vue)'.
./Pages/${name}.vue
I am new to the front end so you can imagine this whole experience was quite the learning curve. Maybe a blessing.
The text was updated successfully, but these errors were encountered:
Hi,
Could you explain how to reproduce this issue or add more code, this isn't clear enough.
Sorry, something went wrong.
No branches or pull requests
When setting up Vue 3 I had an issue when setting up for laravel with Vite. In the app.blade.php the Mix files had to be removed and replaced with:
@Vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
And inside the resource/js/app.js the resolve: had to be changed to 'resolve: (name) => import(
./Pages/${name}.vue
)'.I am new to the front end so you can imagine this whole experience was quite the learning curve. Maybe a blessing.
The text was updated successfully, but these errors were encountered: