Commit 3397f2cd by Sendya

update README.mdd

parent 8be325b4
...@@ -104,7 +104,21 @@ yarn run lint ...@@ -104,7 +104,21 @@ yarn run lint
} }
} }
``` ```
- 按需加载 修改文件 `babel.config.js` 并且引入 `babel-plugin-import` 开发依赖
```ecmascript 6
module.exports = {
presets: [
'@vue/app'
],
plugins: [
[ "import", {
"libraryName": "ant-design-vue",
"libraryDirectory": "es",
"style": "css"
} ]
]
}
```
附属文档 附属文档
......
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