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:
Greg Sanderson 2023-10-11 03:22:53 +01:00 committed by GitHub
parent c7d323b080
commit 2f9845efcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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