Skip to content

Commit 9a8c6b2

Browse files
fix: fixed links and code highlighting
1 parent 8facb5c commit 9a8c6b2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/guide/migration/global-api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ While this approach is convenient, it leads to a couple of problems. Technically
2323

2424
- Global configuration makes it easy to accidentally pollute other test cases during testing. Users need to carefully store original global configuration and restore it after each test (e.g. resetting `Vue.config.errorHandler`). Some APIs like `Vue.use` and `Vue.mixin` don't even have a way to revert their effects. This makes tests involving plugins particularly tricky. In fact, vue-test-utils has to implement a special API `createLocalVue` to deal with this:
2525

26-
``` js
27-
26+
```js
2827
import { createLocalVue, mount } from '@vue/test-utils'
2928

3029
// create an extended `Vue` constructor

src/guide/migration/introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Some of the new features to keep an eye on in Vue 3 include:
2323
The following consists a list of breaking changes from 2.x:
2424

2525
- [Global Vue API is changed to use an application instance](/guide/migration/global-api.html)
26-
- [Global and internal APIs have been restructured to be tree-shakable](/guide/migration/treeshaking.html)
26+
- [Global and internal APIs have been restructured to be tree-shakable](/src/guide/migration/global-api-treeshaking.html)
2727
- [`model` component option and `v-bind`'s `sync` modifier are removed in favor of `v-model` arguments](/guide/migration/v-model.html)
2828
- [Functional components can only be created using a plain function](/guide/migration/functional-components.html)
2929
- [Async components now require `defineAsyncComponent` method to be created](/guide/migration/async-components.html)
@@ -33,8 +33,8 @@ The following consists a list of breaking changes from 2.x:
3333

3434
### Removed
3535

36-
- [`keyCode` support as `v-on` modifiers](/guide/migration/keycodes.html)
37-
- [$on, $off and $once instance methods](/guide/migration/events-api.html)
36+
- [`keyCode` support as `v-on` modifiers](/guide/migration/keycode-modifiers.html)
37+
- [$on, $off and \$once instance methods](/guide/migration/events-api.html)
3838
- [Filters](/guide/migration/filters.html)
3939

4040
## FAQ

0 commit comments

Comments
 (0)