#Does anybody else run into issues with Vite?
1 messages · Page 1 of 1 (latest)
Also keep in mind this is not a Inertia related issue but you should foward this to Laravel Discord instead :p
in any case drop it 🙂
Thats fine, i understand the frustration, Vite is amazing, so lets make it work for you 🙂
Docker?
Show the console errors please
It could be the certificates, but show the errors so we have more context
also make sure your env file has the correct domain
https://[::1]:5173/js/app.js -> this seems wrong
In any case, i recommend the https://laravel-vite.dev/, much less boilerplate :p
should be easy as : https://gyazo.com/c8befb693ff5dbbb5f2ff26725f978f6
Running with Valet secure needs additional configuration: https://laravel.com/docs/9.x/vite#working-with-a-secure-development-server
That's not a default thing, so yes, if you didn't configure that you'd run into issues
I’ve ran Jetstream fresh no issues with valet, make sure you enter your domain in .env
He's running with Valet secure, and you do need additional config for that.
Ah yeah I forgot there is a lot of mess with referencing local certs
There isn't tho 🤨
I thought with Valet SSL you needed to reference local certs for Vite
Yesterday, the Laravel team launched the official vite-plugin. From now on, Vite will be the standard build tool for Laravel. The main benefits are vastly improved build times and a more straightforward API. Want to know more about it? Head over to the official docs. There's also a migration guide to go from Mix to Vite.
When I followed that gui...
Yeah