From 2f9845efcd36ac60b6f198ab1076349f86ca102a Mon Sep 17 00:00:00 2001 From: Greg Sanderson Date: Wed, 11 Oct 2023 03:22:53 +0100 Subject: [PATCH] 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. --- apps/www/src/content/docs/installation/vite.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/www/src/content/docs/installation/vite.md b/apps/www/src/content/docs/installation/vite.md index 68aa1088..b1a512ef 100644 --- a/apps/www/src/content/docs/installation/vite.md +++ b/apps/www/src/content/docs/installation/vite.md @@ -11,10 +11,10 @@ Start by creating a new Vue project using `vite`: ```bash # 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 create vite@latest my-vue-app -- --template vue +npm create vite@latest my-vue-app -- --template vue-ts ``` ### Add Tailwind and its configuration @@ -103,4 +103,4 @@ import { Button } from '@/components/ui/button' ``` - \ No newline at end of file +