Skip to content

Commit e61d56e

Browse files
author
yiyunwan
committed
docs: change Element Plus url
1 parent 1075af4 commit e61d56e

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

docs/guide/index.md

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -75,45 +75,7 @@ $ npm install --save @formily/core @formily/vue @vue/composition-api @formily/el
7575

7676
## 按需打包
7777

78-
`Element-UI` 按需引入参见 [https://element.eleme.io/#/zh-CN/component/quickstart#an-xu-yin-ru](https://element.eleme.io/#/zh-CN/component/quickstart#an-xu-yin-ru)
79-
80-
`@formily/element-plus`按需引入需借助 `babel-plugin-import`
81-
82-
#### 安装 `babel-plugin-import`
83-
84-
```shell
85-
npm install babel-plugin-import --save-dev
86-
```
87-
88-
或者
89-
90-
```shell
91-
yarn add babel-plugin-import --dev
92-
```
93-
94-
修改 `.babelrc`
95-
96-
```json
97-
{
98-
"plugins": [
99-
[
100-
"component",
101-
{
102-
"libraryName": "element-plus",
103-
"styleLibraryName": "theme-chalk"
104-
}
105-
],
106-
[
107-
"import",
108-
{
109-
"libraryName": "@formily/element-plus",
110-
"libraryDirectory": "esm",
111-
"style": true
112-
}
113-
]
114-
]
115-
}
116-
```
78+
`Element Plus` 按需引入参见 [https://element-plus.gitee.io/zh-CN/guide/quickstart.html#%E6%8C%89%E9%9C%80%E5%AF%BC%E5%85%A5](https://element-plus.gitee.io/zh-CN/guide/quickstart.html#%E6%8C%89%E9%9C%80%E5%AF%BC%E5%85%A5)
11779

11880
## Q/A
11981

0 commit comments

Comments
 (0)