From 46f646262779cde337b992bcf1d58357f553e971 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Wed, 18 Jan 2023 19:20:41 +0900 Subject: [PATCH] chore: add missing anchors --- src/api/general.md | 2 +- src/ecosystem/newsletters.md | 2 +- src/guide/components/v-model.md | 2 +- src/guide/reusability/plugins.md | 2 +- src/guide/typescript/composition-api.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/general.md b/src/api/general.md index 40c3a81191..4413565ce7 100644 --- a/src/api/general.md +++ b/src/api/general.md @@ -122,7 +122,7 @@ A type helper for defining a Vue component with type inference. type FooInstance = InstanceType ``` - ### Note on webpack Treeshaking + ### Note on webpack Treeshaking {#note-on-webpack-treeshaking} Because `defineComponent()` is a function call, it could look like that it would produce side-effects to some build tools, e.g. webpack. This will prevent the component from being tree-shaken even when the component is never used. diff --git a/src/ecosystem/newsletters.md b/src/ecosystem/newsletters.md index 2ad73fced9..f2cd9009e6 100644 --- a/src/ecosystem/newsletters.md +++ b/src/ecosystem/newsletters.md @@ -1,4 +1,4 @@ -# Community Newsletters +# Community Newsletters {#community-newsletters} There are many great newsletters / Vue-dedicated blogs from the community bringing you latest news and happenings in the Vue ecosystem. Here is a non-exhaustive list of active ones that we have come across: diff --git a/src/guide/components/v-model.md b/src/guide/components/v-model.md index bd9d590177..f1ddeed200 100644 --- a/src/guide/components/v-model.md +++ b/src/guide/components/v-model.md @@ -1,4 +1,4 @@ -# Component v-model +# Component v-model {#component-v-model} `v-model` can be used on a component to implement a two-way binding. diff --git a/src/guide/reusability/plugins.md b/src/guide/reusability/plugins.md index 6755b09669..11a7818b3e 100644 --- a/src/guide/reusability/plugins.md +++ b/src/guide/reusability/plugins.md @@ -1,4 +1,4 @@ -# Plugins +# Plugins {#plugins} ## Introduction {#introduction} diff --git a/src/guide/typescript/composition-api.md b/src/guide/typescript/composition-api.md index 89300774ca..69e98b67fe 100644 --- a/src/guide/typescript/composition-api.md +++ b/src/guide/typescript/composition-api.md @@ -131,7 +131,7 @@ export default defineComponent({ }) ``` -### Complex prop types +### Complex prop types {#complex-prop-types} With type-based declaration, a prop can use a complex type much like any other type: