Skip to content

Commit 283137e

Browse files
fix: update link in global-api.md (#1091)
1 parent 4e55bbf commit 283137e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/guide/migration/global-api.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ const app = createApp({})
7575

7676
An app instance exposes a subset of the Vue 2 global APIs. The rule of thumb is _any APIs that globally mutate Vue's behavior are now moved to the app instance_. Here is a table of the Vue 2 global APIs and their corresponding instance APIs:
7777

78-
| 2.x Global API | 3.x Instance API (`app`) |
79-
| -------------------------- | ----------------------------------------------------------------------------------------------- |
80-
| Vue.config | app.config |
81-
| Vue.config.productionTip | _removed_ ([see below](#config-productiontip-removed)) |
78+
| 2.x Global API | 3.x Instance API (`app`) |
79+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
80+
| Vue.config | app.config |
81+
| Vue.config.productionTip | _removed_ ([see below](#config-productiontip-removed)) |
8282
| Vue.config.ignoredElements | app.config.compilerOptions.isCustomElement ([see below](#config-ignoredelements-is-now-config-compileroptions-iscustomelement)) |
83-
| Vue.component | app.component |
84-
| Vue.directive | app.directive |
85-
| Vue.mixin | app.mixin |
86-
| Vue.use | app.use ([see below](#a-note-for-plugin-authors)) |
87-
| Vue.prototype | app.config.globalProperties ([see below](#vue-prototype-replaced-by-config-globalproperties)) |
88-
| Vue.extend | _removed_ ([see below](#vue-extend-replaced-by-definecomponent)) |
83+
| Vue.component | app.component |
84+
| Vue.directive | app.directive |
85+
| Vue.mixin | app.mixin |
86+
| Vue.use | app.use ([see below](#a-note-for-plugin-authors)) |
87+
| Vue.prototype | app.config.globalProperties ([see below](#vue-prototype-replaced-by-config-globalproperties)) |
88+
| Vue.extend | _removed_ ([see below](#vue-extend-removed)) |
8989

9090
All other global APIs that do not globally mutate behavior are now named exports, as documented in [Global API Treeshaking](./global-api-treeshaking.html).
9191

0 commit comments

Comments
 (0)