Commit 017cadda authored by Cristi Jora's avatar Cristi Jora Committed by 杨奕

Doc: fix on-demand examples to support babel 7 (#9504)

* Update quickstart.md

* Update quickstart.md

* Update quickstart.md

* Update quickstart.md

* Adjust on demand import in es docs
parent cfa9e6fc
......@@ -57,12 +57,11 @@ Then edit .babelrc:
"presets": [
["es2015", { "modules": false }]
],
"plugins": [["component", [
{
"plugins": [["component", {
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
]]]
]]
}
```
......
......@@ -57,12 +57,11 @@ Luego edite .babelrc:
"presets": [
["es2015", { "modules": false }]
],
"plugins": [["component", [
{
"plugins": [["component", {
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
]]]
]]
}
```
......
......@@ -57,12 +57,11 @@ npm install babel-plugin-component -D
"presets": [
["es2015", { "modules": false }]
],
"plugins": [["component", [
{
"plugins": [["component", {
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
]]]
]]
}
```
......
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