mirror of
https://github.com/youzan/vant.git
synced 2025-12-19 01:02:29 +08:00
chore: add vant-icons package
This commit is contained in:
33
packages/vant-icons/README.md
Normal file
33
packages/vant-icons/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Vant Icons
|
||||
|
||||
## Install
|
||||
|
||||
#### NPM
|
||||
|
||||
```shell
|
||||
npm i @vant/icons -S
|
||||
```
|
||||
|
||||
#### YARN
|
||||
|
||||
```shell
|
||||
yarn add @vant/icons
|
||||
```
|
||||
|
||||
## Document
|
||||
|
||||
- [Usage in Vue](https://youzan.github.io/vant/#/zh-CN/icon)
|
||||
- [Usage in Weapp](https://youzan.github.io/vant-weapp/#/icon)
|
||||
|
||||
## Contribution
|
||||
|
||||
### Update Icons
|
||||
|
||||
1. Update assets/icons.sketch
|
||||
2. Make a Pull Request
|
||||
|
||||
### Add New Icon
|
||||
|
||||
1. Add new icon to assets/icons.sketch
|
||||
2. Add icon name to src/config.js
|
||||
3. Make a Pull Request
|
||||
Reference in New Issue
Block a user