From 7bb90f587153d6921ce5839a2c16f6dfb1bf65a1 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 12 Jan 2024 15:58:58 +0000 Subject: [PATCH] docs: remove bridge recommendation only relevant Vue <= 2.6.14 --- docs/6.bridge/2.typescript.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/6.bridge/2.typescript.md b/docs/6.bridge/2.typescript.md index 4bb2c49a51..6529a54010 100644 --- a/docs/6.bridge/2.typescript.md +++ b/docs/6.bridge/2.typescript.md @@ -38,10 +38,6 @@ If you are using TypeScript, you can edit your `tsconfig.json` to benefit from a As `.nuxt/tsconfig.json` is generated and not checked into version control, you'll need to generate that file before running your tests. Add `nuxi prepare` as a step before your tests, otherwise you'll see `TS5083: Cannot read file '~/.nuxt/tsconfig.json'` :: -::callout -You may also need to add `@vue/runtime-dom` as a devDependency if you are struggling to get template type inference working with [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar). -:: - ::callout Keep in mind that all options extended from `./.nuxt/tsconfig.json` will be overwritten by the options defined in your `tsconfig.json`. Overwriting options such as `"compilerOptions.paths"` with your own configuration will lead TypeScript to not factor in the module resolutions from `./.nuxt/tsconfig.json`. This can lead to module resolutions such as `#imports` not being recognized.