qin-component 1.0.1
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
ADDED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<button class="qin-u-button" @click="handleClick">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</button>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
const emits = defineEmits(["click"]);
|
|
9
|
+
const handleClick = (e) => {
|
|
10
|
+
emits("click", e);
|
|
11
|
+
};
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<style scoped>
|
|
15
|
+
@import "../../style/qin-u-button.scss";
|
|
16
|
+
</style>
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qin-component",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "qin-component",
|
|
5
|
+
"main": "components/index.ts",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"uni-app",
|
|
8
|
+
"vue3"
|
|
9
|
+
],
|
|
10
|
+
"author": "",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"files": [
|
|
13
|
+
"components",
|
|
14
|
+
"style",
|
|
15
|
+
"package.json",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"vue": "^3.5.13",
|
|
20
|
+
"@dcloudio/uni-app": "^3.0.0"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/style/index.scss
ADDED