Skip to content

Commit

Permalink
feat: 增加文档说明
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhenfei committed Oct 16, 2020
1 parent 1b05321 commit 446013f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,25 @@

PiUI基础库

## 使用方式

1. clone 本仓库到uniapp的工程中
2. page.json 使用easycom使用piui组件

```
"easycom": {
"^pi-(.*)": "@/piui/components/pi-$1/index.vue"
}
```
3, main.js引入piui

```js
// 引入piui
import piui from '@/piui'
Vue.use(piui)
```

* 以上@/piui路径根据实际clone的项目位置改



0 comments on commit 446013f

Please sign in to comment.