@varlet/cli 1.20.0-alpha.0 → 1.20.1-alpha.10

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.20.0](https://github.com/haoziqaq/varlet/compare/v1.19.0...v1.20.0) (2021-09-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **cli:** support pc component preview ([be463ad](https://github.com/haoziqaq/varlet/commit/be463adf62cb7cb196e555a42c37a7d2b10cac77))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.19.0](https://github.com/haoziqaq/varlet/compare/v1.18.1...v1.19.0) (2021-09-13)
7
18
 
8
19
 
@@ -32,7 +32,7 @@
32
32
  "vue": "^3.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@varlet/cli": "^1.17.2",
35
+ "@varlet/cli": "^1.20.0-alpha.0",
36
36
  "vue": "3.1.4"
37
37
  },
38
38
  "release-it": {
@@ -14,11 +14,19 @@ createApp().use(Button)
14
14
  <b-button>组件库从我开始</b-button>
15
15
  ```
16
16
 
17
+ ```vue
18
+ import BasicUse from '../example/BasicUse'
19
+ ```
20
+
17
21
  ### 主题色按钮
18
22
  ```html
19
23
  <b-button color="#009688">组件库从我开始</b-button>
20
24
  ```
21
25
 
26
+ ```vue
27
+ import ModifyColor from '../example/ModifyColor'
28
+ ```
29
+
22
30
  ## API
23
31
 
24
32
  ### 属性
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <b-button>组件库从我开始</b-button>
3
+ </template>
4
+
5
+ <script>
6
+ import Button from '../Button'
7
+
8
+ export default {
9
+ name: 'BasicUse',
10
+ components: {
11
+ [Button.name]: Button
12
+ }
13
+ }
14
+ </script>
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <b-button color="#03A9F4">组件库从我开始</b-button>
3
+ </template>
4
+
5
+ <script>
6
+ import Button from '../Button'
7
+
8
+ export default {
9
+ name: 'ModifyColor',
10
+ components: {
11
+ [Button.name]: Button
12
+ }
13
+ }
14
+ </script>
@@ -1,19 +1,23 @@
1
1
  <template>
2
2
  <app-type>基本使用</app-type>
3
- <b-button>组件库从我开始</b-button>
3
+ <basic-use/>
4
4
 
5
5
  <app-type>修改颜色</app-type>
6
- <b-button color="#03A9F4">组件库从我开始</b-button>
6
+ <modify-color/>
7
7
  </template>
8
8
 
9
9
  <script>
10
10
  import Button from '../Button'
11
11
  import AppType from '@varlet/cli/site/mobile/components/AppType'
12
+ import BasicUse from './BasicUse'
13
+ import ModifyColor from './ModifyColor'
12
14
 
13
15
  export default {
14
16
  components: {
15
17
  [Button.name]: Button,
16
18
  AppType,
19
+ BasicUse,
20
+ ModifyColor
17
21
  },
18
22
  }
19
23
  </script>