37% OFF during Black Friday at Mastering 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.