zhyp-vue2-common-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc.json +4 -0
- package/README.md +33 -0
- package/lib/demo.html +10 -0
- package/lib/zhyp-vue2-common-ui.common.js +1687 -0
- package/lib/zhyp-vue2-common-ui.css +1 -0
- package/lib/zhyp-vue2-common-ui.umd.js +1697 -0
- package/lib/zhyp-vue2-common-ui.umd.min.js +2 -0
- package/package.json +62 -0
- package/src/utils/common.js +16 -0
package/.prettierrc.json
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# vue-common-ui
|
|
2
|
+
|
|
3
|
+
## npm 安装
|
|
4
|
+
|
|
5
|
+
推荐使用 npm 的方式安装,它能更好地和 webpack 打包工具配合使用。
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
npm i vue-common-ui
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 快速上手
|
|
12
|
+
|
|
13
|
+
### 引入 CommonUI
|
|
14
|
+
|
|
15
|
+
- 在 main.js 中引入
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import Vue from 'vue'
|
|
19
|
+
import CommonUI from 'vue-common-ui'
|
|
20
|
+
import 'vue-common-ui/lib/vue-common-ui.css'
|
|
21
|
+
import App from './App.vue'
|
|
22
|
+
|
|
23
|
+
Vue.use(CommonUI)
|
|
24
|
+
|
|
25
|
+
new Vue({
|
|
26
|
+
el: '#app',
|
|
27
|
+
render: h => h(App)
|
|
28
|
+
})
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<!-- Username: zhangxiaoning
|
|
32
|
+
Password:18300240052zxn
|
|
33
|
+
Email: (this IS public) 18300240052@163.com -->
|
package/lib/demo.html
ADDED