nuxi
Nuxt 3 CLI
Subcommands
Name | Description |
---|---|
info | The info command logs information about the current or specified Nuxt project |
init, create | The init command initializes a fresh Nuxt project |
add, new | Generate a entity into your Nuxt application |
analyze | The analyze command builds Nuxt and analyzes the production bundle (experimental) |
build | The build command creates a .output directory with all your application, server and dependencies ready for production |
dev | The dev command starts a development server with hot module replacement at http://localhost:3000 |
prepare | The prepare command creates a .nuxt directory in your application and generates ts types |
preview | The preview command starts a server to preview your Nuxt application after running the build command |
generate | Build Nuxt and prerender static routes |
clean, cleanup | The cleanup command removes common generated Nuxt files and caches including .nuxt/, .output/, node_modules/.vite and node_modules/.cache |
test | Run the test files for your Nuxt application |
upgrade | The upgrade command upgrades Nuxt 3 to the latest version |
typecheck | The typecheck command runs vue-tsc to check types throughout your app |
usage | The usage command shows the usage of the Nuxt CLI |
Options
Name | Description |
---|---|
--help |
|