@livestorm/ui-vue 1.0.5 → 1.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/README.md +19 -16
- package/dist/components.mjs +1560 -0
- package/dist/environment-e70e5768.mjs +1664 -0
- package/dist/index.mjs +168 -0
- package/dist/style.css +1 -1
- package/package.json +66 -20
- package/dist/ui-vue.es.js +0 -5319
- package/dist/ui-vue.umd.js +0 -677
package/README.md
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
# Livestorm Vue Components Library
|
|
2
2
|
|
|
3
3
|
## Install
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
```bash
|
|
5
6
|
npm install @livestorm/ui-vue
|
|
6
7
|
```
|
|
7
8
|
|
|
8
9
|
## Storybook
|
|
9
|
-
|
|
10
|
+
|
|
11
|
+
All the components are described in our Storybook: <https://storybook.livestorm.co>
|
|
10
12
|
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
13
15
|
Import style:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
|
|
17
|
+
```javascript
|
|
18
|
+
import "@livestorm/ui-vue/dist/style.css";
|
|
16
19
|
```
|
|
17
20
|
|
|
18
21
|
Use components in your Vue files:
|
|
19
|
-
|
|
22
|
+
|
|
23
|
+
```html
|
|
20
24
|
<template>
|
|
21
25
|
<div>
|
|
22
|
-
<LsButton class="base-button-primary">
|
|
23
|
-
Hello World
|
|
24
|
-
</LsButton>
|
|
26
|
+
<LsButton class="base-button-primary"> Hello World </LsButton>
|
|
25
27
|
|
|
26
28
|
<LsCheckbox
|
|
27
29
|
:value="true"
|
|
@@ -33,16 +35,17 @@ Use components in your Vue files:
|
|
|
33
35
|
</template>
|
|
34
36
|
|
|
35
37
|
<script>
|
|
36
|
-
import { LsButton, LsCheckbox } from "@livestorm/ui-vue"
|
|
37
|
-
|
|
38
|
-
export default {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
38
|
+
import { LsButton, LsCheckbox } from "@livestorm/ui-vue";
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
components: {
|
|
42
|
+
LsButton,
|
|
43
|
+
LsCheckbox,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
44
46
|
</script>
|
|
45
47
|
```
|
|
46
48
|
|
|
47
49
|
## Compatibility
|
|
50
|
+
|
|
48
51
|
Compatible with Vue 2 only for now. Support for Vue 3 is coming.
|