chore: update vite.md (#111)
The guide assumes TypeScript (for example mentioning tsconfig.json just below) however the suggested Vite template uses JavaScript. Perhaps suggest using the TypeScript template instead as then everything else works.
This commit is contained in:
parent
c7d323b080
commit
2f9845efcd
|
|
@ -11,10 +11,10 @@ Start by creating a new Vue project using `vite`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# npm 6.x
|
# npm 6.x
|
||||||
npm create vite@latest my-vue-app --template vue
|
npm create vite@latest my-vue-app --template vue-ts
|
||||||
|
|
||||||
# npm 7+, extra double-dash is needed:
|
# npm 7+, extra double-dash is needed:
|
||||||
npm create vite@latest my-vue-app -- --template vue
|
npm create vite@latest my-vue-app -- --template vue-ts
|
||||||
```
|
```
|
||||||
|
|
||||||
### Add Tailwind and its configuration
|
### Add Tailwind and its configuration
|
||||||
|
|
@ -103,4 +103,4 @@ import { Button } from '@/components/ui/button'
|
||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
||||||
</Steps>
|
</Steps>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user