This repository was archived by the owner on Nov 5, 2024. It is now read-only.
Commit 653063b 1 parent 308c581 commit 653063b Copy full SHA for 653063b
File tree 4 files changed +58
-2
lines changed
4 files changed +58
-2
lines changed Original file line number Diff line number Diff line change
1
+ # setupin
2
+
3
+ < div style ="display:flex;width:100%;gap:10px; ">
4
+ < img src ="" alt ="">
5
+ < img src ="" alt ="">
6
+ </ div >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " html-vue-setup" ,
3
3
"version" : " 0.1.3" ,
4
+ "access" : " public" ,
4
5
"repository" : {
5
6
"type" : " git" ,
6
7
"url" : " git+https://github.com/Tofu-Xx/html-vue-setup.git"
10
11
"scripts" : {
11
12
"test" : " echo \" Error: no test specified\" && exit 1" ,
12
13
"build" : " vite build" ,
13
- "release" : " bumpp package.json --commit --tag --push --publish "
14
+ "release" : " bumpp"
14
15
},
15
16
"files" : [
16
17
" dist" ,
23
24
" vue3" ,
24
25
" setup"
25
26
],
26
- "author" : " tofu_xx " ,
27
+ "author" :
" tofu-xx <[email protected] > " ,
27
28
"license" : " MIT" ,
28
29
"devDependencies" : {
29
30
"bumpp" : " ^9.5.2" ,
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments