Install dependencies:
npm installnpm run devCan be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.
Look at all the available presets here.
npm run buildUse the generate command to build your application.
The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.
npm run generateYou might want to preview the result of your build locally, to do so, run the following command:
npm run previewFor a detailed explanation of how things work, check out Docus.