Don't miss Vue.js Amsterdam in March 2025! Save 10% with code NUXT.

nuxi prepare

The prepare command creates a .nuxt directory in your application and generates types.
Terminal
npx nuxi prepare [--log-level] [rootDir]

The prepare command creates a .nuxt directory in your application and generates types. This can be useful in a CI environment or as a postinstall command in your package.json.

OptionDefaultDescription
rootDir.The root directory of the application to prepare.