Skip to content

Commit

Permalink
docs: fix link to dynamic import docs (fix vuejs#1498) (vuejs#1500)
Browse files Browse the repository at this point in the history
  • Loading branch information
f3oall authored Aug 3, 2022
1 parent 619358b commit f99ec11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/guide/advanced/lazy-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

When building apps with a bundler, the JavaScript bundle can become quite large, and thus affect the page load time. It would be more efficient if we can split each route's components into separate chunks, and only load them when the route is visited.

Vue Router supports [dynamic imports](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports) out of the box, meaning you can replace static imports with dynamic ones:
Vue Router supports [dynamic imports](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import) out of the box, meaning you can replace static imports with dynamic ones:

```js
// replace
Expand Down

0 comments on commit f99ec11

Please sign in to comment.