Nuxt
Nuxt is an open source framework that makes web development intuitive and powerful. Create performant and production-grade full-stack web apps and websites with confidence.
Server build (Nuxt, using nuxt build)
- Set
Build Packtonixpacks. - Set Start Command to
node .output/server/index.mjs
Alternatively, you can set the start script inside package.json to node .output/server/index.mjs. Then Nixpacks will automatically use it as the start command.
Static build (Nuxt, using nuxt generate)
- Set
Build Packtonixpacks. - Enable
Is it a static site?. - Set
Output Directorytodist.
Nitro server build (Nitro, using nitro build)
- Set
Build Packtonixpacks. - Set Start Command to
node .output/server/index.mjs
Alternatively, you can set the start script inside package.json to node .output/server/index.mjs. Then Nixpacks will automatically use it as the start command.