We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5faac83 commit 550a714Copy full SHA for 550a714
README.md
@@ -104,7 +104,21 @@ yarn run lint
104
}
105
106
```
107
-
+- 按需加载 修改文件 `babel.config.js` 并且引入 `babel-plugin-import` 开发依赖
108
+```ecmascript 6
109
+module.exports = {
110
+ presets: [
111
+ '@vue/app'
112
+ ],
113
+ plugins: [
114
+ [ "import", {
115
+ "libraryName": "ant-design-vue",
116
+ "libraryDirectory": "es",
117
+ "style": "css"
118
+ } ]
119
+ ]
120
+}
121
+```
122
123
124
附属文档
0 commit comments