nuxi build [rootDir]

The build command creates a .output directory with all your application, server and dependencies ready for production

Arguments

NameDescription
rootDirThe directory of the target application

Options

NameDescription
--dotenvPoint to another .env file to load, relative to the root directory
--prerenderPre-render every route of your application. (note: This is an experimental flag. The behavior might be changed)