qgb-process 0.1.53 → 0.1.57

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qgb-process",
3
- "version": "0.1.53",
3
+ "version": "0.1.57",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "",
package/packages/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import Process from '../src/App.vue'
1
+ import QgbProcess from '../src/components/HelloWorld.vue'
2
2
 
3
3
  // 以数组的结构保存组件,便于遍历
4
4
  const components = [
5
- Process
5
+ QgbProcess
6
6
  ]
7
7
 
8
8
  // 定义 install 方法
9
9
  const install = function (Vue) {
10
- if (install.installed) return
11
- install.installed = true
10
+ // if (install.installed) return
11
+ // install.installed = true
12
12
  // 遍历并注册全局组件
13
13
  components.map(component => {
14
14
  Vue.component(component.name, component)
@@ -23,5 +23,5 @@ export default {
23
23
  // 导出的对象必须具备一个 install 方法
24
24
  install,
25
25
  // 组件列表
26
- ...components
26
+ ...components,
27
27
  }
package/src/App.vue CHANGED
@@ -1,24 +1,17 @@
1
1
  <template>
2
2
  <div id="app">
3
- <img alt="Vue logo" src="./assets/logo.png">
4
- <el-row>
5
- <el-button>默认按钮</el-button>
6
- <el-button type="primary">主要按钮</el-button>
7
- <el-button type="success">成功按钮</el-button>
8
- <el-button type="info">信息按钮</el-button>
9
- <el-button type="warning">警告按钮</el-button>
10
- <el-button type="danger">危险按钮</el-button>
11
- </el-row>
3
+ <QgbProcess/>
4
+
12
5
  </div>
13
6
  </template>
14
7
 
15
8
  <script>
16
- // import HelloWorld from './components/HelloWorld.vue'
9
+ import QgbProcess from './components/HelloWorld.vue'
17
10
 
18
11
  export default {
19
12
  name: 'App',
20
13
  components: {
21
- // HelloWorld
14
+ QgbProcess
22
15
  }
23
16
  }
24
17
  </script>
@@ -1,5 +1,13 @@
1
1
  <template>
2
2
  <div class="hello">
3
+ <el-row>
4
+ <el-button>默认按钮</el-button>
5
+ <el-button type="primary">主要按钮</el-button>
6
+ <el-button type="success">成功按钮</el-button>
7
+ <el-button type="info">信息按钮</el-button>
8
+ <el-button type="warning">警告按钮</el-button>
9
+ <el-button type="danger">危险按钮</el-button>
10
+ </el-row>
3
11
  <h1>{{ msg }}</h1>
4
12
  <p>
5
13
  For a guide and recipes on how to configure / customize this project,<br>
@@ -32,7 +40,7 @@
32
40
 
33
41
  <script>
34
42
  export default {
35
- name: 'HelloWorld',
43
+ name: 'QgbProcess',
36
44
  props: {
37
45
  msg: String
38
46
  }
package/src/main.js CHANGED
@@ -2,8 +2,14 @@ import Vue from 'vue'
2
2
  import App from './App.vue'
3
3
  import ElementUI from 'element-ui';
4
4
  import 'element-ui/lib/theme-chalk/index.css';
5
+
5
6
  Vue.config.productionTip = false
7
+ console.log(ElementUI)
6
8
  Vue.use(ElementUI);
9
+
10
+
11
+
12
+
7
13
  new Vue({
8
14
  render: h => h(App),
9
15
  }).$mount('#app')
Binary file