From 61dcd63ef22155107b7f0d38bdffc6412cbe1d67 Mon Sep 17 00:00:00 2001 From: tangyongjie <65441198+tyj-321@users.noreply.github.com> Date: Thu, 16 May 2024 23:08:13 +0800 Subject: [PATCH] docs: fix installation configure components.json (#556) --- apps/www/src/content/docs/installation/astro.md | 2 +- apps/www/src/content/docs/installation/laravel.md | 3 ++- apps/www/src/content/docs/installation/nuxt.md | 3 ++- apps/www/src/content/docs/installation/vite.md | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/www/src/content/docs/installation/astro.md b/apps/www/src/content/docs/installation/astro.md index 470de011..b268ed1f 100644 --- a/apps/www/src/content/docs/installation/astro.md +++ b/apps/www/src/content/docs/installation/astro.md @@ -104,7 +104,7 @@ Would you like to use TypeScript (recommended)? no / yes Which framework are you using? Astro Which style would you like to use? › Default Which color would you like to use as base color? › Slate -Where is your tsconfig.json located? › ./tsconfig.json +Where is your tsconfig.json or jsconfig.json file? › ./tsconfig.json Where is your global CSS file? › src/styles/globals.css Do you want to use CSS variables for colors? › no / yes Where is your tailwind.config located? › tailwind.config.mjs diff --git a/apps/www/src/content/docs/installation/laravel.md b/apps/www/src/content/docs/installation/laravel.md index a86bc62f..fc8fd8ae 100644 --- a/apps/www/src/content/docs/installation/laravel.md +++ b/apps/www/src/content/docs/installation/laravel.md @@ -30,12 +30,13 @@ Would you like to use TypeScript (recommended)? no / yes Which framework are you using? Vite / Nuxt / Laravel Which style would you like to use? › Default Which color would you like to use as base color? › Slate -Where is your tsconfig.json located? › ./tsconfig.json +Where is your tsconfig.json or jsconfig.json file? › ./tsconfig.json Where is your global CSS file? › resources/css/app.css Do you want to use CSS variables for colors? › no / yes Where is your tailwind.config.js located? › tailwind.config.js Configure the import alias for components: › @/Components Configure the import alias for utils: › @/lib/utils +Write configuration to components.json. Proceed? > Y/n ``` ### Update tailwind.config.js diff --git a/apps/www/src/content/docs/installation/nuxt.md b/apps/www/src/content/docs/installation/nuxt.md index 13c1b018..d6b6f812 100644 --- a/apps/www/src/content/docs/installation/nuxt.md +++ b/apps/www/src/content/docs/installation/nuxt.md @@ -184,12 +184,13 @@ Would you like to use TypeScript (recommended)? no / yes Which framework are you using? Vite / Nuxt / Laravel Which style would you like to use? › Default Which color would you like to use as base color? › Slate -Where is your tsconfig.json located? › ./tsconfig.json +Where is your tsconfig.json or jsconfig.json file? › ./tsconfig.json Where is your global CSS file? › › src/index.css Do you want to use CSS variables for colors? › no / yes Where is your tailwind.config.js located? › tailwind.config.js Configure the import alias for components: › @/components Configure the import alias for utils: › @/lib/utils +Write configuration to components.json. Proceed? > Y/n ``` ### App structure diff --git a/apps/www/src/content/docs/installation/vite.md b/apps/www/src/content/docs/installation/vite.md index 5f99b6c6..9505faf2 100644 --- a/apps/www/src/content/docs/installation/vite.md +++ b/apps/www/src/content/docs/installation/vite.md @@ -159,12 +159,13 @@ Would you like to use TypeScript (recommended)? no / yes Which framework are you using? Vite / Nuxt / Laravel Which style would you like to use? › Default Which color would you like to use as base color? › Slate -Where is your tsconfig.json located? › ./tsconfig.json +Where is your tsconfig.json or jsconfig.json file? › ./tsconfig.json Where is your global CSS file? › › src/index.css Do you want to use CSS variables for colors? › no / yes Where is your tailwind.config.js located? › tailwind.config.js Configure the import alias for components: › @/components Configure the import alias for utils: › @/lib/utils +Write configuration to components.json. Proceed? > Y/n ``` ### Update main.ts