From cba02af2cbe68609b146133ee0056b9a635e71e7 Mon Sep 17 00:00:00 2001 From: wxsm Date: Tue, 15 Nov 2022 09:41:22 +0800 Subject: [PATCH] update en doc links to relative path (#29) * update links * update links * update links --- src/breaking-changes/async-components.md | 2 +- src/breaking-changes/attribute-coercion.md | 2 +- .../attrs-includes-class-style.md | 2 +- src/breaking-changes/children.md | 2 +- src/breaking-changes/custom-directives.md | 4 +- .../custom-elements-interop.md | 2 +- src/breaking-changes/data-option.md | 4 +- src/breaking-changes/events-api.md | 2 +- src/breaking-changes/filters.md | 2 +- src/breaking-changes/functional-components.md | 2 +- src/breaking-changes/global-api.md | 10 +-- .../inline-template-attribute.md | 4 +- src/breaking-changes/keycode-modifiers.md | 2 +- src/breaking-changes/listeners-removed.md | 2 +- src/breaking-changes/mount-changes.md | 2 +- src/breaking-changes/props-default-this.md | 2 +- src/breaking-changes/render-function-api.md | 2 +- src/breaking-changes/slots-unification.md | 2 +- src/breaking-changes/transition-group.md | 4 +- src/breaking-changes/v-bind.md | 2 +- src/breaking-changes/v-if-v-for.md | 2 +- src/breaking-changes/v-model.md | 2 +- .../v-on-native-modifier-removed.md | 2 +- .../vnode-lifecycle-events.md | 2 +- src/breaking-changes/watch.md | 2 +- src/index.md | 6 +- src/migration-build.md | 78 +++++++++---------- 27 files changed, 75 insertions(+), 75 deletions(-) diff --git a/src/breaking-changes/async-components.md b/src/breaking-changes/async-components.md index 7591264..56a57c8 100644 --- a/src/breaking-changes/async-components.md +++ b/src/breaking-changes/async-components.md @@ -95,4 +95,4 @@ const asyncComponent = defineAsyncComponent( For more information on the usage of async components, see: - [Guide: Async Components](https://vuejs.org/guide/components/async.html) -- [Migration build flag: `COMPONENT_ASYNC`](/migration-build.html#compat-configuration) +- [Migration build flag: `COMPONENT_ASYNC`](../migration-build.html#compat-configuration) diff --git a/src/breaking-changes/attribute-coercion.md b/src/breaking-changes/attribute-coercion.md index 3cfb5fa..dcb9a7c 100644 --- a/src/breaking-changes/attribute-coercion.md +++ b/src/breaking-changes/attribute-coercion.md @@ -138,7 +138,7 @@ In 3.x, `null` or `undefined` should be used to explicitly remove an attribute. -[Migration build flags:](/migration-build.html#compat-configuration) +[Migration build flags:](../migration-build.html#compat-configuration) - `ATTR_FALSE_VALUE` - `ATTR_ENUMERATED_COERCION` diff --git a/src/breaking-changes/attrs-includes-class-style.md b/src/breaking-changes/attrs-includes-class-style.md index 63c89c4..720f4e0 100644 --- a/src/breaking-changes/attrs-includes-class-style.md +++ b/src/breaking-changes/attrs-includes-class-style.md @@ -60,7 +60,7 @@ when used like this: In components that use `inheritAttrs: false`, make sure that styling still works as intended. If you previously relied on the special behavior of `class` and `style`, some visuals might be broken as these attributes might now be applied to another element. -[Migration build flag: `INSTANCE_ATTRS_CLASS_STYLE`](/migration-build.html#compat-configuration) +[Migration build flag: `INSTANCE_ATTRS_CLASS_STYLE`](../migration-build.html#compat-configuration) ## See also diff --git a/src/breaking-changes/children.md b/src/breaking-changes/children.md index ae563f3..edd2835 100644 --- a/src/breaking-changes/children.md +++ b/src/breaking-changes/children.md @@ -41,4 +41,4 @@ In 3.x, the `$children` property is removed and no longer supported. Instead, if ## Migration Strategy -[Migration build flag: `INSTANCE_CHILDREN`](/migration-build.html#compat-configuration) +[Migration build flag: `INSTANCE_CHILDREN`](../migration-build.html#compat-configuration) diff --git a/src/breaking-changes/custom-directives.md b/src/breaking-changes/custom-directives.md index 9545b10..d8e6eea 100644 --- a/src/breaking-changes/custom-directives.md +++ b/src/breaking-changes/custom-directives.md @@ -103,9 +103,9 @@ mounted(el, binding, vnode) { ``` :::warning -With [fragments](/new/fragments.html#overview) support, components can potentially have more than one root node. When applied to a multi-root component, a custom directive will be ignored and a warning will be logged. +With [fragments](../new/fragments.html#overview) support, components can potentially have more than one root node. When applied to a multi-root component, a custom directive will be ignored and a warning will be logged. ::: ## Migration Strategy -[Migration build flag: `CUSTOM_DIR`](/migration-build.html#compat-configuration) +[Migration build flag: `CUSTOM_DIR`](../migration-build.html#compat-configuration) diff --git a/src/breaking-changes/custom-elements-interop.md b/src/breaking-changes/custom-elements-interop.md index 7e7641e..ac153c6 100644 --- a/src/breaking-changes/custom-elements-interop.md +++ b/src/breaking-changes/custom-elements-interop.md @@ -96,7 +96,7 @@ In 3.0, we are limiting Vue's special treatment of the `is` attribute to the ` {} Using `provide` (discussed [below](#provide-inject)) should also be considered as an alternative to `globalProperties`. -[Migration build flag: `GLOBAL_PROTOTYPE`](/migration-build.html#compat-configuration) +[Migration build flag: `GLOBAL_PROTOTYPE`](../migration-build.html#compat-configuration) ### `Vue.extend` Removed @@ -189,7 +189,7 @@ Note that although the return type of `defineComponent` is a constructor-like ty In Vue 3, we strongly recommend favoring composition via [Composition API](https://vuejs.org/guide/reusability/composables.html) over inheritance and mixins. If for some reason you still need component inheritance, you can use the [`extends` option](https://vuejs.org/api/options-composition.html#extends) instead of `Vue.extend`. -[Migration build flag: `GLOBAL_EXTEND`](/migration-build.html#compat-configuration) +[Migration build flag: `GLOBAL_EXTEND`](../migration-build.html#compat-configuration) ### A Note for Plugin Authors @@ -244,7 +244,7 @@ app.directive('focus', { app.mount('#app') ``` -[Migration build flag: `GLOBAL_MOUNT`](/migration-build.html#compat-configuration) +[Migration build flag: `GLOBAL_MOUNT`](../migration-build.html#compat-configuration) ## Provide / Inject diff --git a/src/breaking-changes/inline-template-attribute.md b/src/breaking-changes/inline-template-attribute.md index 77850cd..d8fcf65 100644 --- a/src/breaking-changes/inline-template-attribute.md +++ b/src/breaking-changes/inline-template-attribute.md @@ -30,7 +30,7 @@ This feature will no longer be supported. Most of the use cases for `inline-template` assumes a no-build-tool setup, where all templates are written directly inside the HTML page. -[Migration build flag: `COMPILER_INLINE_TEMPLATE`](/migration-build.html#compat-configuration) +[Migration build flag: `COMPILER_INLINE_TEMPLATE`](../migration-build.html#compat-configuration) ### Option #1: Use `