houwenjian 1.0.11 → 1.0.13
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/package.json +3 -2
- package/src/index.css +4 -0
- package/src/index.js +12 -0
- package/src/test.vue +21 -0
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houwenjian",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Vue-based npm package built with Vite (JavaScript version)",
|
|
5
5
|
"main": "dist/houwenjian.umd.js",
|
|
6
6
|
"module": "dist/houwenjian.es.js",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"src"
|
|
9
10
|
],
|
|
10
11
|
"type": "module",
|
|
11
12
|
"types": "dist/houwenjian.d.ts",
|
package/src/index.css
ADDED
package/src/index.js
ADDED
package/src/test.vue
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<h2>npm module test</h2>
|
|
4
|
+
<h2>作者 侯文建</h2>
|
|
5
|
+
<div>
|
|
6
|
+
<button class="buttons">{{ message }}</button>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script setup>
|
|
11
|
+
import { ref } from 'vue';
|
|
12
|
+
import './index.css'
|
|
13
|
+
const message = ref("hello world")
|
|
14
|
+
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<style scoped>
|
|
18
|
+
.buttons{
|
|
19
|
+
color:red;
|
|
20
|
+
}
|
|
21
|
+
</style>
|