From 3431e870f67e54f4104cc082093388f5089363a4 Mon Sep 17 00:00:00 2001 From: Greg Sanderson Date: Tue, 10 Oct 2023 23:13:23 +0100 Subject: [PATCH] Updated vite.md 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 +