You can, well not exactly deploy, but process and build the css and js. The command to run is npm run build the files are usually put to public folder and a manifest is also generated which contains the "versions" when using asset().
Jan 7, 2024
2
Level 1
Deploying Vite to prod
I have shared hosting and need to run npm commands locally. I know this is a basic question, but the documentation isn't clear to me.
What command do I need to run to deploy a Laravel 10 site using Vite to prod? Can't I build the css and js like I'd do with Mix?
Please or to participate in this conversation.