Skip to content

Commit 3e8fa26

Browse files
committed
update links
1 parent 70bfac6 commit 3e8fa26

25 files changed

+30
-30
lines changed

src/breaking-changes/async-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ const asyncComponent = defineAsyncComponent(
9595
For more information on the usage of async components, see:
9696

9797
- [Guide: Async Components](https://vuejs.org/guide/components/async.html)
98-
- [Migration build flag: `COMPONENT_ASYNC`](/migration-build.html#compat-configuration)
98+
- [Migration build flag: `COMPONENT_ASYNC`](../migration-build.html#compat-configuration)

src/breaking-changes/attribute-coercion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ In 3.x, `null` or `undefined` should be used to explicitly remove an attribute.
138138
</tbody>
139139
</table>
140140

141-
[Migration build flags:](/migration-build.html#compat-configuration)
141+
[Migration build flags:](../migration-build.html#compat-configuration)
142142

143143
- `ATTR_FALSE_VALUE`
144144
- `ATTR_ENUMERATED_COERCION`

src/breaking-changes/attrs-includes-class-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ when used like this:
6060

6161
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.
6262

63-
[Migration build flag: `INSTANCE_ATTRS_CLASS_STYLE`](/migration-build.html#compat-configuration)
63+
[Migration build flag: `INSTANCE_ATTRS_CLASS_STYLE`](../migration-build.html#compat-configuration)
6464

6565
## See also
6666

src/breaking-changes/children.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ In 3.x, the `$children` property is removed and no longer supported. Instead, if
4141

4242
## Migration Strategy
4343

44-
[Migration build flag: `INSTANCE_CHILDREN`](/migration-build.html#compat-configuration)
44+
[Migration build flag: `INSTANCE_CHILDREN`](../migration-build.html#compat-configuration)

src/breaking-changes/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ With [fragments](../new/fragments.html#overview) support, components can potenti
108108

109109
## Migration Strategy
110110

111-
[Migration build flag: `CUSTOM_DIR`](/migration-build.html#compat-configuration)
111+
[Migration build flag: `CUSTOM_DIR`](../migration-build.html#compat-configuration)

src/breaking-changes/custom-elements-interop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ In 3.0, we are limiting Vue's special treatment of the `is` attribute to the `<c
9696
document.createElement('button', { is: 'plastic-button' })
9797
```
9898

99-
[Migration build flag: `COMPILER_IS_ON_ELEMENT`](/migration-build.html#compat-configuration)
99+
[Migration build flag: `COMPILER_IS_ON_ELEMENT`](../migration-build.html#compat-configuration)
100100

101101
## `vue:` Prefix for In-DOM Template Parsing Workarounds
102102

src/breaking-changes/data-option.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ In 3.0, the result will be:
111111
}
112112
```
113113

114-
[Migration build flag: `OPTIONS_DATA_FN`](/migration-build.html#compat-configuration)
114+
[Migration build flag: `OPTIONS_DATA_FN`](../migration-build.html#compat-configuration)
115115

116116
## Migration Strategy
117117

@@ -122,7 +122,7 @@ For users relying on the object declaration, we recommend:
122122

123123
For users relying on the deep merge behavior from mixins, we recommend refactoring your code to avoid such reliance altogether, since deep merges from mixins are very implicit and can make the code logic more difficult to understand and debug.
124124

125-
[Migration build flags:](/migration-build.html#compat-configuration)
125+
[Migration build flags:](../migration-build.html#compat-configuration)
126126

127127
- `OPTIONS_DATA_FN`
128128
- `OPTIONS_DATA_MERGE`

src/breaking-changes/events-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ We removed `$on`, `$off` and `$once` methods from the instance completely. `$emi
5858

5959
## Migration Strategy
6060

61-
[Migration build flag: `INSTANCE_EVENT_EMITTER`](/migration-build.html#compat-configuration)
61+
[Migration build flag: `INSTANCE_EVENT_EMITTER`](../migration-build.html#compat-configuration)
6262

6363
In Vue 3, it is no longer possible to use these APIs to listen to a component's own emitted events from within a component. There is no migration path for that use case.
6464

src/breaking-changes/filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Using the example above, here is one example of how it could be implemented.
7373

7474
Instead of using filters, we recommend replacing them with computed properties or methods.
7575

76-
[Migration build flags:](/migration-build.html#compat-configuration)
76+
[Migration build flags:](../migration-build.html#compat-configuration)
7777

7878
- `FILTERS`
7979
- `COMPILER_FILTERS`

src/breaking-changes/functional-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@ For more information on the usage of the new functional components and the chang
117117

118118
- [Migration: Render Functions](./render-function-api.html)
119119
- [Guide: Render Functions](https://vuejs.org/guide/extras/render-function.html#render-functions-jsx)
120-
- [Migration build flag: `COMPONENT_FUNCTIONAL`](/migration-build.html#compat-configuration)
120+
- [Migration build flag: `COMPONENT_FUNCTIONAL`](../migration-build.html#compat-configuration)

src/breaking-changes/global-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ In Vue 3.x, the "use production build" tip will only show up when using the "dev
9595

9696
For ES modules builds, since they are used with bundlers, and in most cases a CLI or boilerplate would have configured the production env properly, this tip will no longer show up.
9797

98-
[Migration build flag: `CONFIG_PRODUCTION_TIP`](/migration-build.html#compat-configuration)
98+
[Migration build flag: `CONFIG_PRODUCTION_TIP`](../migration-build.html#compat-configuration)
9999

100100
### `config.ignoredElements` Is Now `config.compilerOptions.isCustomElement`
101101

@@ -118,7 +118,7 @@ In Vue 3, the check of whether an element is a component or not has been moved t
118118
- This will be a new top-level option in the Vue CLI config.
119119
:::
120120

121-
[Migration build flag: `CONFIG_IGNORED_ELEMENTS`](/migration-build.html#compat-configuration)
121+
[Migration build flag: `CONFIG_IGNORED_ELEMENTS`](../migration-build.html#compat-configuration)
122122

123123
### `Vue.prototype` Replaced by `config.globalProperties`
124124

@@ -139,7 +139,7 @@ app.config.globalProperties.$http = () => {}
139139

140140
Using `provide` (discussed [below](#provide-inject)) should also be considered as an alternative to `globalProperties`.
141141

142-
[Migration build flag: `GLOBAL_PROTOTYPE`](/migration-build.html#compat-configuration)
142+
[Migration build flag: `GLOBAL_PROTOTYPE`](../migration-build.html#compat-configuration)
143143

144144
### `Vue.extend` Removed
145145

@@ -189,7 +189,7 @@ Note that although the return type of `defineComponent` is a constructor-like ty
189189

190190
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`.
191191

192-
[Migration build flag: `GLOBAL_EXTEND`](/migration-build.html#compat-configuration)
192+
[Migration build flag: `GLOBAL_EXTEND`](../migration-build.html#compat-configuration)
193193

194194
### A Note for Plugin Authors
195195

@@ -244,7 +244,7 @@ app.directive('focus', {
244244
app.mount('#app')
245245
```
246246

247-
[Migration build flag: `GLOBAL_MOUNT`](/migration-build.html#compat-configuration)
247+
[Migration build flag: `GLOBAL_MOUNT`](../migration-build.html#compat-configuration)
248248

249249
## Provide / Inject
250250

src/breaking-changes/inline-template-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This feature will no longer be supported.
3030

3131
Most of the use cases for `inline-template` assumes a no-build-tool setup, where all templates are written directly inside the HTML page.
3232

33-
[Migration build flag: `COMPILER_INLINE_TEMPLATE`](/migration-build.html#compat-configuration)
33+
[Migration build flag: `COMPILER_INLINE_TEMPLATE`](../migration-build.html#compat-configuration)
3434

3535
### Option #1: Use `<script>` tag
3636

src/breaking-changes/keycode-modifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The keys for some punctuation marks can just be included literally. e.g. For the
6666

6767
Limitations of the syntax prevent certain characters from being matched, such as `"`, `'`, `/`, `=`, `>`, and `.`. For those characters you should check `event.key` inside the listener instead.
6868

69-
[Migration build flags:](/migration-build.html#compat-configuration)
69+
[Migration build flags:](../migration-build.html#compat-configuration)
7070

7171
- `CONFIG_KEY_CODES`
7272
- `V_ON_KEYCODE_MODIFIER`

src/breaking-changes/listeners-removed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ If this component received an `id` attribute and a `v-on:close` listener, the `$
6565

6666
Remove all usages of `$listeners`.
6767

68-
[Migration build flag: `INSTANCE_LISTENERS`](/migration-build.html#compat-configuration)
68+
[Migration build flag: `INSTANCE_LISTENERS`](../migration-build.html#compat-configuration)
6969

7070
## See also
7171

src/breaking-changes/mount-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ When this app is mounted to the page that has a `div` with `id="app"`, this will
9191

9292
## Migration Strategy
9393

94-
[Migration build flag: `GLOBAL_MOUNT_CONTAINER`](/migration-build.html#compat-configuration)
94+
[Migration build flag: `GLOBAL_MOUNT_CONTAINER`](../migration-build.html#compat-configuration)
9595

9696
## See Also
9797

src/breaking-changes/props-default-this.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ export default {
3333

3434
## Migration Strategy
3535

36-
[Migration build flag: `PROPS_DEFAULT_THIS`](/migration-build.html#compat-configuration)
36+
[Migration build flag: `PROPS_DEFAULT_THIS`](../migration-build.html#compat-configuration)

src/breaking-changes/render-function-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ For more information, see [The Render Function Api Change RFC](https://github.co
131131

132132
## Migration Strategy
133133

134-
[Migration build flag: `RENDER_FUNCTION`](/migration-build.html#compat-configuration)
134+
[Migration build flag: `RENDER_FUNCTION`](../migration-build.html#compat-configuration)
135135

136136
### Library Authors
137137

src/breaking-changes/slots-unification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ A majority of the change has already been shipped in 2.6. As a result, the migra
6464
1. Replace all `this.$scopedSlots` occurrences with `this.$slots` in 3.x.
6565
2. Replace all occurrences of `this.$slots.mySlot` with `this.$slots.mySlot()`
6666

67-
[Migration build flag: `INSTANCE_SCOPED_SLOTS`](/migration-build.html#compat-configuration)
67+
[Migration build flag: `INSTANCE_SCOPED_SLOTS`](../migration-build.html#compat-configuration)

src/breaking-changes/transition-group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In Vue 3, we have [fragment support](../new/fragments.html), so components no lo
3737

3838
## Migration Strategy
3939

40-
[Migration build flag: `TRANSITION_GROUP_ROOT`](/migration-build.html#compat-configuration)
40+
[Migration build flag: `TRANSITION_GROUP_ROOT`](../migration-build.html#compat-configuration)
4141

4242
## See also
4343

src/breaking-changes/v-bind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ In 3x, if an element has both `v-bind="object"` and an identical individual attr
4545

4646
If you are relying on this override functionality for `v-bind`, we currently recommend ensuring that your `v-bind` attribute is defined before individual attributes.
4747

48-
[Migration build flag: `COMPILER_V_BIND_OBJECT_ORDER`](/migration-build.html#compat-configuration)
48+
[Migration build flag: `COMPILER_V_BIND_OBJECT_ORDER`](../migration-build.html#compat-configuration)

src/breaking-changes/v-if-v-for.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ It is recommended to avoid using both on the same element due to the syntax ambi
2828

2929
Rather than managing this at the template level, one method for accomplishing this is to create a computed property that filters out a list for the visible elements.
3030

31-
[Migration build flag: `COMPILER_V_IF_V_FOR_PRECEDENCE`](/migration-build.html#compat-configuration)
31+
[Migration build flag: `COMPILER_V_IF_V_FOR_PRECEDENCE`](../migration-build.html#compat-configuration)
3232

3333
## See also
3434

src/breaking-changes/v-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ We recommend:
182182
}
183183
```
184184

185-
[Migration build flags:](/migration-build.html#compat-configuration)
185+
[Migration build flags:](../migration-build.html#compat-configuration)
186186

187187
- `COMPONENT_V_MODEL`
188188
- `COMPILER_V_BIND_SYNC`

src/breaking-changes/v-on-native-modifier-removed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Consequently, Vue will now add all event listeners that are _not_ defined as com
4949
- remove all instances of the `.native` modifier.
5050
- ensure that all your components document their events with the `emits` option.
5151

52-
[Migration build flag: `COMPILER_V_ON_NATIVE`](/migration-build.html#compat-configuration)
52+
[Migration build flag: `COMPILER_V_ON_NATIVE`](../migration-build.html#compat-configuration)
5353

5454
## See also
5555

src/breaking-changes/vnode-lifecycle-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In Vue 3, the event name is prefixed with `vue:`:
3535

3636
In most cases it should just require changing the prefix. The lifecycle hooks `beforeDestroy` and `destroyed` have been renamed to `beforeUnmount` and `unmounted` respectively, so the corresponding event names will also need to be updated.
3737

38-
[Migration build flags: `INSTANCE_EVENT_HOOKS`](/migration-build.html#compat-configuration)
38+
[Migration build flags: `INSTANCE_EVENT_HOOKS`](../migration-build.html#compat-configuration)
3939

4040
## See Also
4141

src/breaking-changes/watch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ watch: {
2929

3030
If you rely on watching array mutations, add the `deep` option to ensure that your callback is triggered correctly.
3131

32-
[Migration build flag: `WATCH_ARRAY`](/migration-build.html#compat-configuration)
32+
[Migration build flag: `WATCH_ARRAY`](../migration-build.html#compat-configuration)

0 commit comments

Comments
 (0)