wshisbadboy-ui-lib 0.1.1 → 0.1.2
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
CHANGED
|
@@ -24,7 +24,7 @@ yarn add wshisbadboy-ui-lib
|
|
|
24
24
|
```js
|
|
25
25
|
import { createApp } from 'vue'
|
|
26
26
|
import UI from 'wshisbadboy-ui-lib'
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
|
|
29
29
|
const app = createApp(App)
|
|
30
30
|
app.use(UI)
|
|
@@ -34,7 +34,7 @@ app.use(UI)
|
|
|
34
34
|
|
|
35
35
|
```js
|
|
36
36
|
import { Button, Alert } from 'wshisbadboy-ui-lib'
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
### 在模板中使用
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wshisbadboy-ui-lib",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A lightweight Vue 3 component library with Button, Alert, Message, and Collapse components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"dist",
|
|
30
30
|
"src"
|
|
31
31
|
],
|
|
32
|
-
"main": "./dist/
|
|
33
|
-
"module": "./dist/
|
|
32
|
+
"main": "./dist/wshisbadboy-ui-lib.umd.js",
|
|
33
|
+
"module": "./dist/wshisbadboy-ui-lib.es.js",
|
|
34
34
|
"exports": {
|
|
35
35
|
".": {
|
|
36
|
-
"import": "./dist/
|
|
37
|
-
"require": "./dist/
|
|
36
|
+
"import": "./dist/wshisbadboy-ui-lib.es.js",
|
|
37
|
+
"require": "./dist/wshisbadboy-ui-lib.umd.js"
|
|
38
38
|
},
|
|
39
39
|
"./dist/*": "./dist/*"
|
|
40
40
|
},
|
|
File without changes
|
|
File without changes
|