Skip to content

Commit 6f98598

Browse files
committed
remove babel-runtime ref in docs
1 parent 6926a33 commit 6f98598

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/start/tutorial.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,12 @@ npm install\
3232
webpack webpack-dev-server\
3333
vue-loader vue-html-loader css-loader vue-style-loader vue-hot-reload-api\
3434
babel-loader babel-core babel-plugin-transform-runtime babel-preset-es2015\
35-
babel-runtime@5\
3635
--save-dev
3736
npm install vue --save
3837
```
3938

4039
That's a lot of dependencies, I know! This is mostly because `vue-loader` need to have other webpack loaders as **peer dependencies** rather than nested dependencies so that Webpack can find them.[^(1)]
4140

42-
You may also notice that we are using `babel-runtime` version 5 instead of the latest 6.x - this is [intentional](https://github.com/vuejs/vue-loader/issues/96#issuecomment-162910917).
43-
4441
After proper installation, your `package.json`'s `devDependencies` field should look like this:
4542

4643
``` json
@@ -50,7 +47,6 @@ After proper installation, your `package.json`'s `devDependencies` field should
5047
"babel-loader": "^6.2.0",
5148
"babel-plugin-transform-runtime": "^6.3.13",
5249
"babel-preset-es2015": "^6.3.13",
53-
"babel-runtime": "^5.8.34",
5450
"css-loader": "^0.23.0",
5551
"vue-hot-reload-api": "^1.2.2",
5652
"vue-html-loader": "^1.0.0",

0 commit comments

Comments
 (0)