Skip to content

Commit 4e55bbf

Browse files
fix: corrections in migration-build.md, including broken links (#1084)
1 parent e5bf29e commit 4e55bbf

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

β€Žsrc/guide/migration/migration-build.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -264,32 +264,32 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
264264
| COMPILER_V_IF_V_FOR_PRECEDENCE | ⨂ | `v-if` and `v-for` precedence when used on the same element has changed | [link](/guide/migration/v-if-v-for.html) |
265265
| COMPILER_V_IF_SAME_KEY | ⨂ | `v-if` branches can no longer have the same key | [link](/guide/migration/key-attribute.html#on-conditional-branches) |
266266
| COMPILER_V_FOR_TEMPLATE_KEY_PLACEMENT | ⨂ | `<template v-for>` key should now be placed on `<template>` | [link](/guide/migration/key-attribute.html#with-template-v-for) |
267-
| COMPILER_SFC_FUNCTIONAL | ⨂ | `<template functional>` is no longer supported in SFCs | [link](/guide/migration/functional-components.html#single-file-components-sfcs) | | |
267+
| COMPILER_SFC_FUNCTIONAL | ⨂ | `<template functional>` is no longer supported in SFCs | [link](/guide/migration/functional-components.html#single-file-components-sfcs) |
268268
269269
### Partially Compatible with Caveats
270270
271-
| ID | Type | Description | Docs |
272-
| ------------------------ | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
273-
| CONFIG_IGNORED_ELEMENTS | ◐ | `config.ignoredElements` is now `config.compilerOptions.isCustomElement` (only in browser compiler build). If using build setup, `isCustomElement` must be passed via build configuration. | [link](/guide/migration/global-api.html#config-ignoredelements-is-now-config-iscustomelement) |
274-
| COMPILER_INLINE_TEMPLATE | ◐ | `inline-template` removed (compat only supported in browser compiler build) | [link](/guide/migration/inline-template-attribute.html) |
275-
| PROPS_DEFAULT_THIS | ◐ | props default factory no longer have access to `this` (in compat mode, `this` is not a real instance - it only exposes props, `$options` and injections) | [link](/guide/migration/props-default-this.html) |
276-
| INSTANCE_DESTROY | ◐ | `$destroy` instance method removed (in compat mode, only supported on root instance) | |
277-
| GLOBAL_PRIVATE_UTIL | ◐ | `Vue.util` is private and no longer available | |
278-
| CONFIG_PRODUCTION_TIP | ◐ | `config.productionTip` no longer necessary | [link](/guide/migration/global-api.html#config-productiontip-removed) |
279-
| CONFIG_SILENT | ◐ | `config.silent` removed |
271+
| ID | Type | Description | Docs |
272+
| ------------------------ | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- |
273+
| CONFIG_IGNORED_ELEMENTS | ◐ | `config.ignoredElements` is now `config.compilerOptions.isCustomElement` (only in browser compiler build). If using build setup, `isCustomElement` must be passed via build configuration. | [link](/guide/migration/global-api.html#config-ignoredelements-is-now-config-compileroptions-iscustomelement) |
274+
| COMPILER_INLINE_TEMPLATE | ◐ | `inline-template` removed (compat only supported in browser compiler build) | [link](/guide/migration/inline-template-attribute.html) |
275+
| PROPS_DEFAULT_THIS | ◐ | props default factory no longer have access to `this` (in compat mode, `this` is not a real instance - it only exposes props, `$options` and injections) | [link](/guide/migration/props-default-this.html) |
276+
| INSTANCE_DESTROY | ◐ | `$destroy` instance method removed (in compat mode, only supported on root instance) | |
277+
| GLOBAL_PRIVATE_UTIL | ◐ | `Vue.util` is private and no longer available | |
278+
| CONFIG_PRODUCTION_TIP | ◐ | `config.productionTip` no longer necessary | [link](/guide/migration/global-api.html#config-productiontip-removed) |
279+
| CONFIG_SILENT | ◐ | `config.silent` removed | |
280280
281281
### Compat only (no warning)
282282
283-
| ID | Type | Description | Docs |
284-
| ------------------ | ---- | ------------------------------------- | ---------------------------------------- |
285-
| TRANSITION_CLASSES | ⭘ | Transtion enter/leave classes changed | [link](/guide/migration/transition.html) |
283+
| ID | Type | Description | Docs |
284+
| ------------------ | ---- | -------------------------------------- | ---------------------------------------- |
285+
| TRANSITION_CLASSES | ⭘ | Transition enter/leave classes changed | [link](/guide/migration/transition.html) |
286286
287287
### Fully Compatible
288288
289289
| ID | Type | Description | Docs |
290290
| ---------------------------- | ---- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
291291
| GLOBAL_MOUNT | βœ” | new Vue() -> createApp | [link](/guide/migration/global-api.html#mounting-app-instance) |
292-
| GLOBAL_EXTEND | βœ” | Vue.extend removed (use `defineComponent` or `extends` option) | [link](/guide/migration/global-api.html#vue-extend-replaced-by-definecomponent) |
292+
| GLOBAL_EXTEND | βœ” | Vue.extend removed (use `defineComponent` or `extends` option) | [link](/guide/migration/global-api.html#vue-extend-removed) |
293293
| GLOBAL_PROTOTYPE | βœ” | `Vue.prototype` -> `app.config.globalProperties` | [link](/guide/migration/global-api.html#vue-prototype-replaced-by-config-globalproperties) |
294294
| GLOBAL_SET | βœ” | `Vue.set` removed (no longer needed) | |
295295
| GLOBAL_DELETE | βœ” | `Vue.delete` removed (no longer needed) | |
@@ -299,7 +299,7 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
299299
| INSTANCE_SET | βœ” | `vm.$set` removed (no longer needed) | |
300300
| INSTANCE_DELETE | βœ” | `vm.$delete` removed (no longer needed) | |
301301
| INSTANCE_EVENT_EMITTER | βœ” | `vm.$on`, `vm.$off`, `vm.$once` removed | [link](/guide/migration/events-api.html) |
302-
| INSTANCE_EVENT_HOOKS | βœ” | Instance no longer emits `hook:x` events | [link](/guide/migration/vnode-lifecycle-events.html) |
302+
| INSTANCE_EVENT_HOOKS | βœ” | Instance no longer emits `hook:x` events | [link](/guide/migration/vnode-lifecycle-events.html) |
303303
| INSTANCE_CHILDREN | βœ” | `vm.$children` removed | [link](/guide/migration/children.html) |
304304
| INSTANCE_LISTENERS | βœ” | `vm.$listeners` removed | [link](/guide/migration/listeners-removed.html) |
305305
| INSTANCE_SCOPED_SLOTS | βœ” | `vm.$scopedSlots` removed; `vm.$slots` now exposes functions | [link](/guide/migration/slots-unification.html) |

0 commit comments

Comments
Β (0)