Why not use php artisan serve locally ? Its just a wrapper for php -S localhost:8000. But it all depends on the host. Is it shared hosting or your own server ?
Dec 1, 2022
5
Level 1
How to deploy Laravel vite project
I have created a Larvel Vite project. It is working fine in development mode. When I made a production build then vite successfully generated the build folder inside the public directory.
Now, I don't know how to deploy it on the server. Should I have put all Laravel and public folders on my server's root folder and it works?
And how can I check the build package in the local environment without using the php artisan serve command? Just like php -S localhost:8000
Please or to participate in this conversation.