Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 653063b

Browse files
committed
chore: what change readme
1 parent 308c581 commit 653063b

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

README.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# setupin
2+
3+
<div style="display:flex;width:100%;gap:10px;">
4+
<img src="" alt="">
5+
<img src="" alt="">
6+
</div>

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "html-vue-setup",
33
"version": "0.1.3",
4+
"access": "public",
45
"repository": {
56
"type": "git",
67
"url": "git+https://github.com/Tofu-Xx/html-vue-setup.git"
@@ -10,7 +11,7 @@
1011
"scripts": {
1112
"test": "echo \"Error: no test specified\" && exit 1",
1213
"build": "vite build",
13-
"release": "bumpp package.json --commit --tag --push --publish"
14+
"release": "bumpp"
1415
},
1516
"files": [
1617
"dist",
@@ -23,7 +24,7 @@
2324
"vue3",
2425
"setup"
2526
],
26-
"author": "tofu_xx",
27+
"author": "tofu-xx <[email protected]>",
2728
"license": "MIT",
2829
"devDependencies": {
2930
"bumpp": "^9.5.2",

test/readme/setup.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<head>
2+
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
3+
<script src="https://unpkg.com/html-vue-setup/dist/main.umd.js"></script>
4+
</head>
5+
6+
<script setup>
7+
const count = ref(0);
8+
</script>
9+
10+
<main>
11+
<button @click="count++">{{count}}</button>
12+
</main>
13+
14+
<style>
15+
button {
16+
padding: 10px 20px;
17+
border-radius: 5px;
18+
border: none;
19+
}
20+
</style>

test/readme/unsetup.html

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<head>
2+
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
3+
<style>
4+
button {
5+
padding: 10px 20px;
6+
border-radius: 5px;
7+
border: none;
8+
}
9+
</style>
10+
</head>
11+
<body>
12+
<div id="app">
13+
<button @click="count++">{{count}}</button>
14+
</div>
15+
<script>
16+
const { createApp, ref } = Vue;
17+
18+
const App = {
19+
setup() {
20+
const count = ref(0);
21+
return {
22+
count
23+
};
24+
}
25+
};
26+
27+
createApp(App).mount('#app');
28+
</script>
29+
</body>

0 commit comments

Comments
 (0)