Deploy Vue Vite
Vue apps created with Vite should be uploaded as compiled static files, not as the raw source repository.
Use the Vue Vite template in the dashboard. It maps to the static deploy runtime.
1. Build the app
npm run buildVite writes the production output to dist/.
2. Zip the contents of dist
cd dist
zip -r ../vue-vite.zip .The archive should unzip so index.html is at the top level.
3. Upload from the dashboard
- Open
/dashboard/deploy - Choose
Vue Vite - Pick your subdomain
- Upload
vue-vite.zip - Wait for the app to go live
Expected archive layout
index.html
assets/...Best fit
Use hosted deployment for:
- Vue Vite SPAs
- marketing sites
- frontend apps that do not need a separate live server process
When to use a tunnel instead
Use a normal Mekong tunnel when:
- you want to expose your local Vite dev server
- you need HMR during development
- your app depends on another local service while developing
For live local development, see the Vite tunnel guide.