Skip to content

Commit ce34d91

Browse files
committed
chore: remove v3.vuejs.org references
1 parent 48de8a4 commit ce34d91

File tree

6 files changed

+84
-84
lines changed

6 files changed

+84
-84
lines changed

BACKERS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1 align="center">Sponsors &amp; Backers</h1>
22

3-
Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of the awesome sponsors and backers listed in this file. If you'd like to join them, please consider [ sponsor Vue's development](https://staging.vuejs.org/sponsor/).
3+
Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of the awesome sponsors and backers listed in this file. If you'd like to join them, please consider [ sponsor Vue's development](https://vuejs.org/sponsor/).
44

55
<p align="center">
66
<a target="_blank" href="https://sponsors.vuejs.org/backers.svg">

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Also note: Vue 3 does not support IE11 ([RFC](https://github.com/vuejs/rfcs/blob
2323

2424
## Sponsors
2525

26-
Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [ sponsor Vue's development](https://staging.vuejs.org/sponsor/).
26+
Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [ sponsor Vue's development](https://vuejs.org/sponsor/).
2727

2828
<p align="center">
29-
<a target="_blank" href="https://staging.vuejs.org/sponsor/">
29+
<a target="_blank" href="https://vuejs.org/sponsor/">
3030
<img alt="sponsors" src="https://sponsors.vuejs.org/sponsors.svg">
3131
</a>
3232
</p>

packages/compiler-core/src/compat/compatConfig.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ const deprecationData: Record<CompilerDeprecationTypes, DeprecationData> = {
3636
`Platform-native elements with "is" prop will no longer be ` +
3737
`treated as components in Vue 3 unless the "is" value is explicitly ` +
3838
`prefixed with "vue:".`,
39-
link: `https://v3.vuejs.org/guide/migration/custom-elements-interop.html`
39+
link: `https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`
4040
},
4141

4242
[CompilerDeprecationTypes.COMPILER_V_BIND_SYNC]: {
4343
message: key =>
4444
`.sync modifier for v-bind has been removed. Use v-model with ` +
4545
`argument instead. \`v-bind:${key}.sync\` should be changed to ` +
4646
`\`v-model:${key}\`.`,
47-
link: `https://v3.vuejs.org/guide/migration/v-model.html`
47+
link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`
4848
},
4949

5050
[CompilerDeprecationTypes.COMPILER_V_BIND_PROP]: {
@@ -60,12 +60,12 @@ const deprecationData: Record<CompilerDeprecationTypes, DeprecationData> = {
6060
`that appears before v-bind in the case of conflict. ` +
6161
`To retain 2.x behavior, move v-bind to make it the first attribute. ` +
6262
`You can also suppress this warning if the usage is intended.`,
63-
link: `https://v3.vuejs.org/guide/migration/v-bind.html`
63+
link: `https://v3-migration.vuejs.org/breaking-changes/v-bind.html`
6464
},
6565

6666
[CompilerDeprecationTypes.COMPILER_V_ON_NATIVE]: {
6767
message: `.native modifier for v-on has been removed as is no longer necessary.`,
68-
link: `https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html`
68+
link: `https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`
6969
},
7070

7171
[CompilerDeprecationTypes.COMPILER_V_IF_V_FOR_PRECEDENCE]: {
@@ -75,7 +75,7 @@ const deprecationData: Record<CompilerDeprecationTypes, DeprecationData> = {
7575
`access to v-for scope variables. It is best to avoid the ambiguity ` +
7676
`with <template> tags or use a computed property that filters v-for ` +
7777
`data source.`,
78-
link: `https://v3.vuejs.org/guide/migration/v-if-v-for.html`
78+
link: `https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`
7979
},
8080

8181
[CompilerDeprecationTypes.COMPILER_NATIVE_TEMPLATE]: {
@@ -86,15 +86,15 @@ const deprecationData: Record<CompilerDeprecationTypes, DeprecationData> = {
8686

8787
[CompilerDeprecationTypes.COMPILER_INLINE_TEMPLATE]: {
8888
message: `"inline-template" has been removed in Vue 3.`,
89-
link: `https://v3.vuejs.org/guide/migration/inline-template-attribute.html`
89+
link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
9090
},
9191

9292
[CompilerDeprecationTypes.COMPILER_FILTERS]: {
9393
message:
9494
`filters have been removed in Vue 3. ` +
9595
`The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
9696
`Use method calls or computed properties instead.`,
97-
link: `https://v3.vuejs.org/guide/migration/filters.html`
97+
link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
9898
}
9999
}
100100

packages/runtime-core/src/compat/compatConfig.ts

+30-30
Original file line numberDiff line numberDiff line change
@@ -76,29 +76,29 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
7676
message:
7777
`The global app bootstrapping API has changed: vm.$mount() and the "el" ` +
7878
`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`
8080
},
8181

8282
[DeprecationTypes.GLOBAL_MOUNT_CONTAINER]: {
8383
message:
8484
`Vue detected directives on the mount container. ` +
8585
`In Vue 3, the container is no longer considered part of the template ` +
8686
`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`
8888
},
8989

9090
[DeprecationTypes.GLOBAL_EXTEND]: {
9191
message:
9292
`Vue.extend() has been removed in Vue 3. ` +
9393
`Use defineComponent() instead.`,
94-
link: `https://v3.vuejs.org/api/global-api.html#definecomponent`
94+
link: `https://vuejs.org/api/general.html#definecomponent`
9595
},
9696

9797
[DeprecationTypes.GLOBAL_PROTOTYPE]: {
9898
message:
9999
`Vue.prototype is no longer available in Vue 3. ` +
100100
`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`
102102
},
103103

104104
[DeprecationTypes.GLOBAL_SET]: {
@@ -117,7 +117,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
117117
message:
118118
`Vue.observable() has been removed. ` +
119119
`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`
121121
},
122122

123123
[DeprecationTypes.GLOBAL_PRIVATE_UTIL]: {
@@ -144,12 +144,12 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
144144
message:
145145
`config.keyCodes has been removed. ` +
146146
`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`
148148
},
149149

150150
[DeprecationTypes.CONFIG_PRODUCTION_TIP]: {
151151
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`
153153
},
154154

155155
[DeprecationTypes.CONFIG_IGNORED_ELEMENTS]: {
@@ -162,7 +162,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
162162
}
163163
return msg
164164
},
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`
166166
},
167167

168168
[DeprecationTypes.CONFIG_WHITESPACE]: {
@@ -194,14 +194,14 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
194194

195195
[DeprecationTypes.INSTANCE_DESTROY]: {
196196
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`
198198
},
199199

200200
[DeprecationTypes.INSTANCE_EVENT_EMITTER]: {
201201
message:
202202
`vm.$on/$once/$off() have been removed. ` +
203203
`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`
205205
},
206206

207207
[DeprecationTypes.INSTANCE_EVENT_HOOKS]: {
@@ -211,14 +211,14 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
211211
`should be changed to @vnode-${event.slice(5)}. ` +
212212
`From JavaScript, use Composition API to dynamically register lifecycle ` +
213213
`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`
215215
},
216216

217217
[DeprecationTypes.INSTANCE_CHILDREN]: {
218218
message:
219219
`vm.$children has been removed. Consider refactoring your logic ` +
220220
`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`
222222
},
223223

224224
[DeprecationTypes.INSTANCE_LISTENERS]: {
@@ -227,12 +227,12 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
227227
`included in vm.$attrs and it is no longer necessary to separately use ` +
228228
`v-on="$listeners" if you are already using v-bind="$attrs". ` +
229229
`(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`
231231
},
232232

233233
[DeprecationTypes.INSTANCE_SCOPED_SLOTS]: {
234234
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`
236236
},
237237

238238
[DeprecationTypes.INSTANCE_ATTRS_CLASS_STYLE]: {
@@ -247,21 +247,21 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
247247
`If you are binding $attrs to a non-root element and expecting ` +
248248
`class/style to fallthrough on root, you will need to now manually bind ` +
249249
`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`
251251
},
252252

253253
[DeprecationTypes.OPTIONS_DATA_FN]: {
254254
message:
255255
`The "data" option can no longer be a plain object. ` +
256256
`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`
258258
},
259259

260260
[DeprecationTypes.OPTIONS_DATA_MERGE]: {
261261
message: (key: string) =>
262262
`Detected conflicting key "${key}" when merging data option values. ` +
263263
`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`
265265
},
266266

267267
[DeprecationTypes.OPTIONS_BEFORE_DESTROY]: {
@@ -279,29 +279,29 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
279279
`If current usage is intended, you can disable the compat behavior and ` +
280280
`suppress this warning with:` +
281281
`\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`
283283
},
284284

285285
[DeprecationTypes.PROPS_DEFAULT_THIS]: {
286286
message: (key: string) =>
287287
`props default value function no longer has access to "this". The compat ` +
288288
`build only offers access to this.$options.` +
289289
`(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`
291291
},
292292

293293
[DeprecationTypes.CUSTOM_DIR]: {
294294
message: (legacyHook: string, newHook: string) =>
295295
`Custom directive hook "${legacyHook}" has been removed. ` +
296296
`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`
298298
},
299299

300300
[DeprecationTypes.V_ON_KEYCODE_MODIFIER]: {
301301
message:
302302
`Using keyCode as v-on modifier is no longer supported. ` +
303303
`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`
305305
},
306306

307307
[DeprecationTypes.ATTR_FALSE_VALUE]: {
@@ -311,7 +311,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
311311
`use \`null\` or \`undefined\` instead. If the usage is intended, ` +
312312
`you can disable the compat behavior and suppress this warning with:` +
313313
`\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`
315315
},
316316

317317
[DeprecationTypes.ATTR_ENUMERATED_COERCION]: {
@@ -324,7 +324,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
324324
`If the usage is intended, ` +
325325
`you can disable the compat behavior and suppress this warning with:` +
326326
`\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`
328328
},
329329

330330
[DeprecationTypes.TRANSITION_CLASSES]: {
@@ -338,7 +338,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
338338
`for styling, you can disable the compat behavior and suppress this ` +
339339
`warning with:` +
340340
`\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`
342342
},
343343

344344
[DeprecationTypes.COMPONENT_ASYNC]: {
@@ -356,7 +356,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
356356
`\n\n configureCompat({ ${DeprecationTypes.COMPONENT_ASYNC}: false })\n`
357357
)
358358
},
359-
link: `https://v3.vuejs.org/guide/migration/async-components.html`
359+
link: `https://v3-migration.vuejs.org/breaking-changes/async-components.html`
360360
},
361361

362362
[DeprecationTypes.COMPONENT_FUNCTIONAL]: {
@@ -372,7 +372,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
372372
`been disabled.`
373373
)
374374
},
375-
link: `https://v3.vuejs.org/guide/migration/functional-components.html`
375+
link: `https://v3-migration.vuejs.org/breaking-changes/functional-components.html`
376376
},
377377

378378
[DeprecationTypes.COMPONENT_V_MODEL]: {
@@ -397,7 +397,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
397397
`"update:modelValue" event. You can update the usage and then ${configMsg}`
398398
)
399399
},
400-
link: `https://v3.vuejs.org/guide/migration/v-model.html`
400+
link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`
401401
},
402402

403403
[DeprecationTypes.RENDER_FUNCTION]: {
@@ -406,15 +406,15 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
406406
`You can opt-in to the new API with:` +
407407
`\n\n configureCompat({ ${DeprecationTypes.RENDER_FUNCTION}: false })\n` +
408408
`\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`
410410
},
411411

412412
[DeprecationTypes.FILTERS]: {
413413
message:
414414
`filters have been removed in Vue 3. ` +
415415
`The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
416416
`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`
418418
},
419419

420420
[DeprecationTypes.PRIVATE_APIS]: {
@@ -534,7 +534,7 @@ export function validateCompatConfig(
534534
`Deprecation config "${key}" is compiler-specific and you are ` +
535535
`running a runtime-only build of Vue. This deprecation should be ` +
536536
`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`
538538
)
539539
}
540540
} else {

packages/runtime-core/src/compat/globalConfig.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ export type LegacyConfig = {
2020
devtools?: boolean
2121
/**
2222
* @deprecated use `config.isCustomElement` instead
23-
* https://v3.vuejs.org/guide/migration/global-api.html#config-ignoredelements-is-now-config-iscustomelement
23+
* https://v3-migration.vuejs.org/breaking-changes/global-api.html#config-ignoredelements-is-now-config-iscustomelement
2424
*/
2525
ignoredElements?: (string | RegExp)[]
2626
/**
2727
* @deprecated
28-
* https://v3.vuejs.org/guide/migration/keycode-modifiers.html
28+
* https://v3-migration.vuejs.org/breaking-changes/keycode-modifiers.html
2929
*/
3030
keyCodes?: Record<string, number | number[]>
3131
/**
3232
* @deprecated
33-
* https://v3.vuejs.org/guide/migration/global-api.html#config-productiontip-removed
33+
* https://v3-migration.vuejs.org/breaking-changes/global-api.html#config-productiontip-removed
3434
*/
3535
productionTip?: boolean
3636
}

0 commit comments

Comments
 (0)