From f0912302e431e1a49fb4c26f8ac9f4ab7e852ebc Mon Sep 17 00:00:00 2001 From: johnsoncodehk Date: Fri, 21 Oct 2022 15:41:54 +0800 Subject: [PATCH] chore: extensions id casing --- docs/content/1.getting-started/2.installation.md | 4 ++-- docs/content/6.bridge/1.overview.md | 2 +- packages/schema/src/config/typescript.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index 2eedba9174a..b93f3102bd6 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -19,9 +19,9 @@ Before getting started, please make sure you have installed the recommended setu * **Node.js*** (latest LTS version) 👉 [[Download](https://nodejs.org/en/download/)] * **Visual Studio Code** 👉 [[Download](https://code.visualstudio.com/)] -* **Volar Extension** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=vue.volar)] +* **Volar Extension** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=Vue.volar)] * Either enable [**Take Over Mode**](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode) (recommended) - * ... or add **TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=vue.vscode-typescript-vue-plugin)] + * ... or add **TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)] * If you already have Node.js installed, check with `node --version` that you are using version 14.16 or above 16.11. diff --git a/docs/content/6.bridge/1.overview.md b/docs/content/6.bridge/1.overview.md index 259300ce9d3..f1625c7b062 100644 --- a/docs/content/6.bridge/1.overview.md +++ b/docs/content/6.bridge/1.overview.md @@ -134,7 +134,7 @@ 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'` :: ::alert -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). +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). :: ::alert Keep in mind that all options extended from `./.nuxt/tsconfig.json` will be overwritten by the options defined in your `tsconfig.json`. diff --git a/packages/schema/src/config/typescript.ts b/packages/schema/src/config/typescript.ts index 396818d0afe..702c044aa41 100644 --- a/packages/schema/src/config/typescript.ts +++ b/packages/schema/src/config/typescript.ts @@ -38,7 +38,7 @@ export default defineUntypedSchema({ /** * Generate a `*.vue` shim. * - * We recommend instead either enabling [**Take Over Mode**](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode) or adding **TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=vue.vscode-typescript-vue-plugin)]. + * We recommend instead either enabling [**Take Over Mode**](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode) or adding **TypeScript Vue Plugin (Volar)** 👉 [[Download](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)]. */ shim: true }