@@ -76,29 +76,29 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
76
76
message :
77
77
`The global app bootstrapping API has changed: vm.$mount() and the "el" ` +
78
78
`option have been removed. Use createApp(RootComponent).mount() instead.` ,
79
- link : `https://v3.vuejs.org/guide/migration /global-api.html#mounting-app-instance`
79
+ link : `https://v3-migration .vuejs.org/breaking-changes /global-api.html#mounting-app-instance`
80
80
} ,
81
81
82
82
[ DeprecationTypes . GLOBAL_MOUNT_CONTAINER ] : {
83
83
message :
84
84
`Vue detected directives on the mount container. ` +
85
85
`In Vue 3, the container is no longer considered part of the template ` +
86
86
`and will not be processed/replaced.` ,
87
- link : `https://v3.vuejs.org/guide/migration /mount-changes.html`
87
+ link : `https://v3-migration .vuejs.org/breaking-changes /mount-changes.html`
88
88
} ,
89
89
90
90
[ DeprecationTypes . GLOBAL_EXTEND ] : {
91
91
message :
92
92
`Vue.extend() has been removed in Vue 3. ` +
93
93
`Use defineComponent() instead.` ,
94
- link : `https://v3. vuejs.org/api/global-api .html#definecomponent`
94
+ link : `https://vuejs.org/api/general .html#definecomponent`
95
95
} ,
96
96
97
97
[ DeprecationTypes . GLOBAL_PROTOTYPE ] : {
98
98
message :
99
99
`Vue.prototype is no longer available in Vue 3. ` +
100
100
`Use app.config.globalProperties instead.` ,
101
- link : `https://v3.vuejs.org/guide/migration /global-api.html#vue-prototype-replaced-by-config-globalproperties`
101
+ link : `https://v3-migration .vuejs.org/breaking-changes /global-api.html#vue-prototype-replaced-by-config-globalproperties`
102
102
} ,
103
103
104
104
[ DeprecationTypes . GLOBAL_SET ] : {
@@ -117,7 +117,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
117
117
message :
118
118
`Vue.observable() has been removed. ` +
119
119
`Use \`import { reactive } from "vue"\` from Composition API instead.` ,
120
- link : `https://v3. vuejs.org/api/basic- reactivity.html`
120
+ link : `https://vuejs.org/api/reactivity-core .html#reactive `
121
121
} ,
122
122
123
123
[ DeprecationTypes . GLOBAL_PRIVATE_UTIL ] : {
@@ -144,12 +144,12 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
144
144
message :
145
145
`config.keyCodes has been removed. ` +
146
146
`In Vue 3, you can directly use the kebab-case key names as v-on modifiers.` ,
147
- link : `https://v3.vuejs.org/guide/migration /keycode-modifiers.html`
147
+ link : `https://v3-migration .vuejs.org/breaking-changes /keycode-modifiers.html`
148
148
} ,
149
149
150
150
[ DeprecationTypes . CONFIG_PRODUCTION_TIP ] : {
151
151
message : `config.productionTip has been removed.` ,
152
- link : `https://v3.vuejs.org/guide/migration /global-api.html#config-productiontip-removed`
152
+ link : `https://v3-migration .vuejs.org/breaking-changes /global-api.html#config-productiontip-removed`
153
153
} ,
154
154
155
155
[ DeprecationTypes . CONFIG_IGNORED_ELEMENTS ] : {
@@ -162,7 +162,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
162
162
}
163
163
return msg
164
164
} ,
165
- link : `https://v3.vuejs.org/guide/migration /global-api.html#config-ignoredelements-is-now-config-iscustomelement`
165
+ link : `https://v3-migration .vuejs.org/breaking-changes /global-api.html#config-ignoredelements-is-now-config-iscustomelement`
166
166
} ,
167
167
168
168
[ DeprecationTypes . CONFIG_WHITESPACE ] : {
@@ -194,14 +194,14 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
194
194
195
195
[ DeprecationTypes . INSTANCE_DESTROY ] : {
196
196
message : `vm.$destroy() has been removed. Use app.unmount() instead.` ,
197
- link : `https://v3. vuejs.org/api/application-api .html#unmount`
197
+ link : `https://vuejs.org/api/application.html#app- unmount`
198
198
} ,
199
199
200
200
[ DeprecationTypes . INSTANCE_EVENT_EMITTER ] : {
201
201
message :
202
202
`vm.$on/$once/$off() have been removed. ` +
203
203
`Use an external event emitter library instead.` ,
204
- link : `https://v3.vuejs.org/guide/migration /events-api.html`
204
+ link : `https://v3-migration .vuejs.org/breaking-changes /events-api.html`
205
205
} ,
206
206
207
207
[ DeprecationTypes . INSTANCE_EVENT_HOOKS ] : {
@@ -211,14 +211,14 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
211
211
`should be changed to @vnode-${ event . slice ( 5 ) } . ` +
212
212
`From JavaScript, use Composition API to dynamically register lifecycle ` +
213
213
`hooks.` ,
214
- link : `https://v3.vuejs.org/guide/migration /vnode-lifecycle-events.html`
214
+ link : `https://v3-migration .vuejs.org/breaking-changes /vnode-lifecycle-events.html`
215
215
} ,
216
216
217
217
[ DeprecationTypes . INSTANCE_CHILDREN ] : {
218
218
message :
219
219
`vm.$children has been removed. Consider refactoring your logic ` +
220
220
`to avoid relying on direct access to child components.` ,
221
- link : `https://v3.vuejs.org/guide/migration /children.html`
221
+ link : `https://v3-migration .vuejs.org/breaking-changes /children.html`
222
222
} ,
223
223
224
224
[ DeprecationTypes . INSTANCE_LISTENERS ] : {
@@ -227,12 +227,12 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
227
227
`included in vm.$attrs and it is no longer necessary to separately use ` +
228
228
`v-on="$listeners" if you are already using v-bind="$attrs". ` +
229
229
`(Note: the Vue 3 behavior only applies if this compat config is disabled)` ,
230
- link : `https://v3.vuejs.org/guide/migration /listeners-removed.html`
230
+ link : `https://v3-migration .vuejs.org/breaking-changes /listeners-removed.html`
231
231
} ,
232
232
233
233
[ DeprecationTypes . INSTANCE_SCOPED_SLOTS ] : {
234
234
message : `vm.$scopedSlots has been removed. Use vm.$slots instead.` ,
235
- link : `https://v3.vuejs.org/guide/migration /slots-unification.html`
235
+ link : `https://v3-migration .vuejs.org/breaking-changes /slots-unification.html`
236
236
} ,
237
237
238
238
[ DeprecationTypes . INSTANCE_ATTRS_CLASS_STYLE ] : {
@@ -247,21 +247,21 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
247
247
`If you are binding $attrs to a non-root element and expecting ` +
248
248
`class/style to fallthrough on root, you will need to now manually bind ` +
249
249
`them on root via :class="$attrs.class".` ,
250
- link : `https://v3.vuejs.org/guide/migration /attrs-includes-class-style.html`
250
+ link : `https://v3-migration .vuejs.org/breaking-changes /attrs-includes-class-style.html`
251
251
} ,
252
252
253
253
[ DeprecationTypes . OPTIONS_DATA_FN ] : {
254
254
message :
255
255
`The "data" option can no longer be a plain object. ` +
256
256
`Always use a function.` ,
257
- link : `https://v3.vuejs.org/guide/migration /data-option.html`
257
+ link : `https://v3-migration .vuejs.org/breaking-changes /data-option.html`
258
258
} ,
259
259
260
260
[ DeprecationTypes . OPTIONS_DATA_MERGE ] : {
261
261
message : ( key : string ) =>
262
262
`Detected conflicting key "${ key } " when merging data option values. ` +
263
263
`In Vue 3, data keys are merged shallowly and will override one another.` ,
264
- link : `https://v3.vuejs.org/guide/migration /data-option.html#mixin-merge-behavior-change`
264
+ link : `https://v3-migration .vuejs.org/breaking-changes /data-option.html#mixin-merge-behavior-change`
265
265
} ,
266
266
267
267
[ DeprecationTypes . OPTIONS_BEFORE_DESTROY ] : {
@@ -279,29 +279,29 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
279
279
`If current usage is intended, you can disable the compat behavior and ` +
280
280
`suppress this warning with:` +
281
281
`\n\n configureCompat({ ${ DeprecationTypes . WATCH_ARRAY } : false })\n` ,
282
- link : `https://v3.vuejs.org/guide/migration /watch.html`
282
+ link : `https://v3-migration .vuejs.org/breaking-changes /watch.html`
283
283
} ,
284
284
285
285
[ DeprecationTypes . PROPS_DEFAULT_THIS ] : {
286
286
message : ( key : string ) =>
287
287
`props default value function no longer has access to "this". The compat ` +
288
288
`build only offers access to this.$options.` +
289
289
`(found in prop "${ key } ")` ,
290
- link : `https://v3.vuejs.org/guide/migration /props-default-this.html`
290
+ link : `https://v3-migration .vuejs.org/breaking-changes /props-default-this.html`
291
291
} ,
292
292
293
293
[ DeprecationTypes . CUSTOM_DIR ] : {
294
294
message : ( legacyHook : string , newHook : string ) =>
295
295
`Custom directive hook "${ legacyHook } " has been removed. ` +
296
296
`Use "${ newHook } " instead.` ,
297
- link : `https://v3.vuejs.org/guide/migration /custom-directives.html`
297
+ link : `https://v3-migration .vuejs.org/breaking-changes /custom-directives.html`
298
298
} ,
299
299
300
300
[ DeprecationTypes . V_ON_KEYCODE_MODIFIER ] : {
301
301
message :
302
302
`Using keyCode as v-on modifier is no longer supported. ` +
303
303
`Use kebab-case key name modifiers instead.` ,
304
- link : `https://v3.vuejs.org/guide/migration /keycode-modifiers.html`
304
+ link : `https://v3-migration .vuejs.org/breaking-changes /keycode-modifiers.html`
305
305
} ,
306
306
307
307
[ DeprecationTypes . ATTR_FALSE_VALUE ] : {
@@ -311,7 +311,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
311
311
`use \`null\` or \`undefined\` instead. If the usage is intended, ` +
312
312
`you can disable the compat behavior and suppress this warning with:` +
313
313
`\n\n configureCompat({ ${ DeprecationTypes . ATTR_FALSE_VALUE } : false })\n` ,
314
- link : `https://v3.vuejs.org/guide/migration /attribute-coercion.html`
314
+ link : `https://v3-migration .vuejs.org/breaking-changes /attribute-coercion.html`
315
315
} ,
316
316
317
317
[ DeprecationTypes . ATTR_ENUMERATED_COERCION ] : {
@@ -324,7 +324,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
324
324
`If the usage is intended, ` +
325
325
`you can disable the compat behavior and suppress this warning with:` +
326
326
`\n\n configureCompat({ ${ DeprecationTypes . ATTR_ENUMERATED_COERCION } : false })\n` ,
327
- link : `https://v3.vuejs.org/guide/migration /attribute-coercion.html`
327
+ link : `https://v3-migration .vuejs.org/breaking-changes /attribute-coercion.html`
328
328
} ,
329
329
330
330
[ DeprecationTypes . TRANSITION_CLASSES ] : {
@@ -338,7 +338,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
338
338
`for styling, you can disable the compat behavior and suppress this ` +
339
339
`warning with:` +
340
340
`\n\n configureCompat({ ${ DeprecationTypes . TRANSITION_GROUP_ROOT } : false })\n` ,
341
- link : `https://v3.vuejs.org/guide/migration /transition-group.html`
341
+ link : `https://v3-migration .vuejs.org/breaking-changes /transition-group.html`
342
342
} ,
343
343
344
344
[ DeprecationTypes . COMPONENT_ASYNC ] : {
@@ -356,7 +356,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
356
356
`\n\n configureCompat({ ${ DeprecationTypes . COMPONENT_ASYNC } : false })\n`
357
357
)
358
358
} ,
359
- link : `https://v3.vuejs.org/guide/migration /async-components.html`
359
+ link : `https://v3-migration .vuejs.org/breaking-changes /async-components.html`
360
360
} ,
361
361
362
362
[ DeprecationTypes . COMPONENT_FUNCTIONAL ] : {
@@ -372,7 +372,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
372
372
`been disabled.`
373
373
)
374
374
} ,
375
- link : `https://v3.vuejs.org/guide/migration /functional-components.html`
375
+ link : `https://v3-migration .vuejs.org/breaking-changes /functional-components.html`
376
376
} ,
377
377
378
378
[ DeprecationTypes . COMPONENT_V_MODEL ] : {
@@ -397,7 +397,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
397
397
`"update:modelValue" event. You can update the usage and then ${ configMsg } `
398
398
)
399
399
} ,
400
- link : `https://v3.vuejs.org/guide/migration /v-model.html`
400
+ link : `https://v3-migration .vuejs.org/breaking-changes /v-model.html`
401
401
} ,
402
402
403
403
[ DeprecationTypes . RENDER_FUNCTION ] : {
@@ -406,15 +406,15 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
406
406
`You can opt-in to the new API with:` +
407
407
`\n\n configureCompat({ ${ DeprecationTypes . RENDER_FUNCTION } : false })\n` +
408
408
`\n (This can also be done per-component via the "compatConfig" option.)` ,
409
- link : `https://v3.vuejs.org/guide/migration /render-function-api.html`
409
+ link : `https://v3-migration .vuejs.org/breaking-changes /render-function-api.html`
410
410
} ,
411
411
412
412
[ DeprecationTypes . FILTERS ] : {
413
413
message :
414
414
`filters have been removed in Vue 3. ` +
415
415
`The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
416
416
`Use method calls or computed properties instead.` ,
417
- link : `https://v3.vuejs.org/guide/migration /filters.html`
417
+ link : `https://v3-migration .vuejs.org/breaking-changes /filters.html`
418
418
} ,
419
419
420
420
[ DeprecationTypes . PRIVATE_APIS ] : {
@@ -534,7 +534,7 @@ export function validateCompatConfig(
534
534
`Deprecation config "${ key } " is compiler-specific and you are ` +
535
535
`running a runtime-only build of Vue. This deprecation should be ` +
536
536
`configured via compiler options in your build setup instead.\n` +
537
- `Details: https://v3.vuejs.org/guide/migration /migration-build.html`
537
+ `Details: https://v3-migration .vuejs.org/breaking-changes /migration-build.html`
538
538
)
539
539
}
540
540
} else {
0 commit comments