Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: add brief note about how to check types manually (#1822)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 10, 2021
1 parent 9b9843b commit d9c1aa6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/content/2.concepts/3.typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Nuxt 3 is fully typed and provides helpful shortcuts to ensure you have access to accurate type information when you are coding.

## Type-checking

By default Nuxt doesn't check types when you run `nuxi dev` or `nuxi build`, for performance reasons. However, you can manually check your types using [`vue-tsc`](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc).

```bash
npx vue-tsc --noEmit
```

## Auto-generated types

When you run `nuxi dev` or `nuxi build`, the following files are generated for IDE type support (and type-checking):
Expand Down

0 comments on commit d9c1aa6

Please sign in to comment.