File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- # Vue 3 + Vite + Tailwind
1
+ # Vue 3 + Vite + Tailwind + typescript
2
2
3
3
starterkit
4
4
5
5
## ` npm install `
6
6
7
- ## ` npm run dev ` Or ` yarn dev `
7
+ ## ` npm run dev ` Or ` yarn dev `
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import HelloWorld from './components/HelloWorld.vue'
3
3
</script >
4
4
5
5
<template >
6
- <HelloWorld msg =" Vue + Tailwind + vite Starter Kit" />
6
+ <HelloWorld title =" Vue + Tailwind + vite + typescript Starter Kit" description = " Created By Javad Fathi " />
7
7
</template >
8
8
Original file line number Diff line number Diff line change 2
2
import { ref } from ' vue'
3
3
4
4
defineProps ({
5
- msg: String ,
5
+ title: String ,
6
+ description: String ,
6
7
})
7
8
8
9
const count = ref <Number >(0 )
9
10
</script >
10
11
11
12
<template >
12
- <h1 >{{ msg }}</h1 >
13
-
13
+ <h1 >{{ title }}</h1 >
14
+ < p >{{description}}</ p >
14
15
<div class =" card" >
15
16
<button type =" button" @click =" count++" >count is {{ count }}</button >
16
17
</div >
You can’t perform that action at this time.
0 commit comments