Commit 99f9d995 authored by qingwei.li's avatar qingwei.li Committed by 杨奕

Docs(quickstart): update babel config

parent b295e1b9
......@@ -27,9 +27,7 @@ Typical configurations for these config files are:
**.babelrc**
```json
{
"presets": [
["es2015", { "modules": false }]
]
"presets": ["vue-app"]
}
```
......@@ -50,7 +48,7 @@ Typical configurations for these config files are:
"devDependencies": {
"babel-core": "^6.0.0",
"babel-loader": "^6.0.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-vue-app": "^1.2.0",
"cross-env": "^1.0.6",
"css-loader": "^0.23.1",
"file-loader": "^0.8.5",
......
......@@ -27,9 +27,7 @@
**.babelrc**
```json
{
"presets": [
["es2015", { "modules": false }]
]
"presets": ["vue-app"]
}
```
......@@ -50,7 +48,7 @@
"devDependencies": {
"babel-core": "^6.0.0",
"babel-loader": "^6.0.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-vue-app": "^1.2.0",
"cross-env": "^1.0.6",
"css-loader": "^0.23.1",
"file-loader": "^0.8.5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment