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 Pack
tonixpacks
. - 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 Pack
tonixpacks
. - Enable
Is it a static site?
. - Set
Output Directory
todist
.
Nitro server build (Nitro, using nitro build
)
- Set
Build Pack
tonixpacks
. - 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.