lew-ui 1.0.13 → 1.0.16
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 +23 -9
- package/dist/lew.es.ts +9305 -3469
- package/dist/lew.umd.ts +45 -12
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/package.json +14 -7
package/README.md
CHANGED
|
@@ -1,16 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Lew-UI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A Component Library for Vue3.js.
|
|
4
|
+
Doc address: https://lew.kamtao.com
|
|
4
5
|
|
|
5
|
-
## Recommended IDE Setup
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Install
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui --save
|
|
11
|
+
```
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
## How to use
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
引入css
|
|
16
|
+
```js
|
|
17
|
+
// main.ts
|
|
18
|
+
import "lew-ui/dist/style.css";
|
|
19
|
+
```
|
|
15
20
|
|
|
16
|
-
|
|
21
|
+
页面
|
|
22
|
+
```vue
|
|
23
|
+
<script setup lang="ts">
|
|
24
|
+
import { LewButton } from 'lew-ui';
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<lew-button> 发送 </lew-button>
|
|
29
|
+
</template>
|
|
30
|
+
```
|