Learn Nuxt with a Collection of 100+ Tips!

nuxi typecheck

The typecheck command runs vue-tsc to check types throughout your app.
Terminal
npx nuxi typecheck [ROOTDIR] [--cwd=<directory>] [--logLevel=<silent|info|verbose>]

The typecheck command runs vue-tsc to check types throughout your app.

Arguments

ArgumentDescription
ROOTDIR="."Specifies the working directory (default: .)

Options

OptionDefaultDescription
--cwd=<directory>Specify the working directory, this takes precedence over ROOTDIR (default: .)
--logLevel=<silent|info|verbose>Specify build-time log level
This command sets process.env.NODE_ENV to production. To override, define NODE_ENV in a .env file or as a command-line argument.
Read more on how to enable type-checking at build or development time.