Skip to content

Commit 2760db6

Browse files
committed
update redme
1 parent 2bcb1a9 commit 2760db6

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Vue 3 + Vite + Tailwind
1+
# Vue 3 + Vite + Tailwind + typescript
22

33
starterkit
44

55
## `npm install`
66

7-
## `npm run dev` Or `yarn dev`
7+
## `npm run dev` Or `yarn dev`

src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import HelloWorld from './components/HelloWorld.vue'
33
</script>
44

55
<template>
6-
<HelloWorld msg="Vue + Tailwind + vite Starter Kit" />
6+
<HelloWorld title="Vue + Tailwind + vite + typescript Starter Kit" description="Created By Javad Fathi" />
77
</template>
88

src/components/HelloWorld.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
import { ref } from 'vue'
33
44
defineProps({
5-
msg: String,
5+
title: String,
6+
description: String,
67
})
78
89
const count = ref<Number>(0)
910
</script>
1011

1112
<template>
12-
<h1>{{ msg }}</h1>
13-
13+
<h1>{{ title }}</h1>
14+
<p>{{description}}</p>
1415
<div class="card">
1516
<button type="button" @click="count++">count is {{ count }}</button>
1617
</div>

0 commit comments

Comments
 (0)