Skip to content

Commit 372b9c0

Browse files
committed
edits
1 parent 4382731 commit 372b9c0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/_posts/012-release.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ Vue.component('async-example', function (resolve, reject) {
6161
})
6262
```
6363

64-
It is up to you to decide how to load the component from the server, but the recommended usage is to pair it up with Webpack's [Code Splitting feature](http://webpack.github.io/docs/code-splitting.html):
64+
It is up to you to decide how to load the component from the server, e.g. `$.getScript()` or require.js; but the recommended usage is to pair it up with Webpack's [Code Splitting feature](http://webpack.github.io/docs/code-splitting.html):
6565

6666
``` js
6767
Vue.component('async-webpack-example', function (resolve, reject) {
68-
// this special require syntax will instruct webpack to
69-
// automatically split your built code into bundles which
70-
// are automatically loaded over ajax requests.
68+
// In Webpack AMD like syntax indicates a code split point
7169
require(['./my-async-component'], resolve)
7270
})
7371
```

0 commit comments

Comments
 (0)