n naroDocs

Nuxt

Nuxt apps deploy with nuxt generate: every route is prerendered into .output/public and served as static files.

Detected by
nuxt
Build command
npm run generate
Output directory
.output/public
Runtime
Static assets
SPA fallback
No
Build cache
node_modules/.cache

No server at runtime

Server routes under server/ and runtime rendering are unavailable; data is fetched at build time. The project needs a generate script, which Nuxt templates ship with.

Deploy it

Run this inside the project. The first deploy creates and links it.

npx naro-cli deploy
npx naro-cli deploy --prod

Overrides

Project settings → Build configuration changes the build script and output directory for a project that does not follow its framework's defaults.