Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/guide/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ and create a **`tsconfig.json`** file :
}
```

You will also need to provide types for Vue files by adding the following type declaration:

`vue-shim.d.ts`:
```ts
declare module "*.vue" {
import Vue from 'vue'
export default Vue
}
```

::: tip
`@nuxt/typescript-build` ships `@nuxt/types`, so there's no need to install it independently.
:::
Expand Down