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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "semi": false,
3
+ "singleQuote": true
4
+ }
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
@@ -0,0 +1,10 @@
1
+ <meta charset="utf-8">
2
+ <title>zhyp-vue2-common-ui demo</title>
3
+ <script src="./zhyp-vue2-common-ui.umd.js"></script>
4
+
5
+ <link rel="stylesheet" href="./zhyp-vue2-common-ui.css">
6
+
7
+
8
+ <script>
9
+ console.log(zhyp-vue2-common-ui)
10
+ </script>