From 6af2e8f333d1aac55abdb4e53ebf6585fe681288 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Tue, 19 Nov 2024 04:56:47 -0800 Subject: [PATCH] fix: update `vscode/README.md` reference Signed-off-by: Emmanuel Ferdman --- src/guide/extras/web-components.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/extras/web-components.md b/src/guide/extras/web-components.md index 75b72bbc17..c6b35e3727 100644 --- a/src/guide/extras/web-components.md +++ b/src/guide/extras/web-components.md @@ -274,7 +274,7 @@ export function MyComponent() { When writing Vue SFC templates, you may want to [type check](/guide/scaling-up/tooling.html#typescript) your Vue components, including those that are defined as custom elements. -Custom elements are registered globally in browsers using their built-in APIs, and by default they won't have type inference when used in Vue templates. To provide type support for Vue components registered as custom elements, we can register global component typings by augmenting the [`GlobalComponents` interface](https://github.com/vuejs/language-tools/blob/master/packages/vscode-vue/README.md#usage) for type checking in Vue templates (JSX users can augment the [JSX.IntrinsicElements](https://www.typescriptlang.org/docs/handbook/jsx.html#intrinsic-elements) type instead, which is not shown here). +Custom elements are registered globally in browsers using their built-in APIs, and by default they won't have type inference when used in Vue templates. To provide type support for Vue components registered as custom elements, we can register global component typings by augmenting the [`GlobalComponents` interface](https://github.com/vuejs/language-tools/blob/master/extensions/vscode/README.md#usage) for type checking in Vue templates (JSX users can augment the [JSX.IntrinsicElements](https://www.typescriptlang.org/docs/handbook/jsx.html#intrinsic-elements) type instead, which is not shown here). Here is how to define the type for a custom element made with Vue: @@ -472,7 +472,7 @@ defined in a more manual fashion: ```vue