From 2f95bac47fba024cfa8dcf7ea3efe3f1b03d6e9c Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Mon, 14 Jun 2021 07:49:03 +0100 Subject: [PATCH] fix: update link in global-api.md --- src/guide/migration/global-api.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/guide/migration/global-api.md b/src/guide/migration/global-api.md index ad411bc352..564247dcb1 100644 --- a/src/guide/migration/global-api.md +++ b/src/guide/migration/global-api.md @@ -75,17 +75,17 @@ const app = createApp({}) 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: -| 2.x Global API | 3.x Instance API (`app`) | -| -------------------------- | ----------------------------------------------------------------------------------------------- | -| Vue.config | app.config | -| Vue.config.productionTip | _removed_ ([see below](#config-productiontip-removed)) | +| 2.x Global API | 3.x Instance API (`app`) | +| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| Vue.config | app.config | +| Vue.config.productionTip | _removed_ ([see below](#config-productiontip-removed)) | | Vue.config.ignoredElements | app.config.compilerOptions.isCustomElement ([see below](#config-ignoredelements-is-now-config-compileroptions-iscustomelement)) | -| Vue.component | app.component | -| Vue.directive | app.directive | -| Vue.mixin | app.mixin | -| Vue.use | app.use ([see below](#a-note-for-plugin-authors)) | -| Vue.prototype | app.config.globalProperties ([see below](#vue-prototype-replaced-by-config-globalproperties)) | -| Vue.extend | _removed_ ([see below](#vue-extend-replaced-by-definecomponent)) | +| Vue.component | app.component | +| Vue.directive | app.directive | +| Vue.mixin | app.mixin | +| Vue.use | app.use ([see below](#a-note-for-plugin-authors)) | +| Vue.prototype | app.config.globalProperties ([see below](#vue-prototype-replaced-by-config-globalproperties)) | +| Vue.extend | _removed_ ([see below](#vue-extend-removed)) | All other global APIs that do not globally mutate behavior are now named exports, as documented in [Global API Treeshaking](./global-api-treeshaking.html).