nuxi typecheck

npx nuxi typecheck [rootDir]

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

Option Default Description
rootDir . The directory of the target application.

This command sets process.env.NODE_ENV to production. To override, define NODE_ENV in a .env file or as a command-line argument.

You can also enable type-checking at build or development time with the typescript.typeCheck option in your nuxt.config file .
Edit this page on GitHub Updated at Wed, May 25, 2022