= How to deploy Laravel apps on cPanel (VPS enabled) building with Vite? =

It was easy to deploy laravel apps building with webpack. Recently Laravel moved to Vite for bunddling assets. I'm newbie here, how to deploy Laravel apps on cPanel (VPS enabled) building with Vite? Do I need to run npm run dev on the terminal? Do I need to manually add build/assets folder to blade files? Is there any docs / tutorial available? Please help me

Yes. I have fresh Laravel app using Vite as an asset bunddler. It's working fine locally. However, I want to deploy it over the cPanel that with vps package. How do I deploy this app to my server? Does Vite automatically builds for me or do I need to build my assets first? How can I use build/assets folder correctly in blade files? There are no tutorials about it. Please help me find out the docs. Thanks 🙏🙏
== About Community ==
Artisans
Online