From 3d058d23c96f8439cf7b6574ca37033e54c0bf73 Mon Sep 17 00:00:00 2001
From: samk-dev <33263129+samk-dev@users.noreply.github.com>
Date: Sat, 6 Apr 2024 14:02:22 +0200
Subject: [PATCH] docs: updated installation docs to reflect the new option
`tsConfigPath`
---
apps/www/src/content/docs/installation/astro.md | 13 +++++++------
apps/www/src/content/docs/installation/laravel.md | 1 +
apps/www/src/content/docs/installation/nuxt.md | 2 ++
apps/www/src/content/docs/installation/vite.md | 5 +++--
4 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/apps/www/src/content/docs/installation/astro.md b/apps/www/src/content/docs/installation/astro.md
index b465dd45..b57f5475 100644
--- a/apps/www/src/content/docs/installation/astro.md
+++ b/apps/www/src/content/docs/installation/astro.md
@@ -104,6 +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 typescript configuration 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
@@ -152,12 +153,12 @@ import { Button } from "@/components/ui/button"
---
-
- Astro
-
-
-
-
+
+ Astro
+
+
+
+
```
diff --git a/apps/www/src/content/docs/installation/laravel.md b/apps/www/src/content/docs/installation/laravel.md
index 9f83e77d..1a2e47dc 100644
--- a/apps/www/src/content/docs/installation/laravel.md
+++ b/apps/www/src/content/docs/installation/laravel.md
@@ -30,6 +30,7 @@ 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 typescript configuration 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
diff --git a/apps/www/src/content/docs/installation/nuxt.md b/apps/www/src/content/docs/installation/nuxt.md
index c5dc56ac..24664308 100644
--- a/apps/www/src/content/docs/installation/nuxt.md
+++ b/apps/www/src/content/docs/installation/nuxt.md
@@ -20,6 +20,7 @@ If you encounter the error `ERROR: Cannot read properties of undefined (reading
```bash
npm install -D typescript
```
+
### Install TailwindCSS module
```bash
@@ -183,6 +184,7 @@ 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 typescript configuration 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
diff --git a/apps/www/src/content/docs/installation/vite.md b/apps/www/src/content/docs/installation/vite.md
index e4f1747b..050e5025 100644
--- a/apps/www/src/content/docs/installation/vite.md
+++ b/apps/www/src/content/docs/installation/vite.md
@@ -30,7 +30,7 @@ Install `tailwindcss` and its peer dependencies, then generate your `tailwind.co
npm install -D tailwindcss autoprefixer
```
- #### `vite.config`
+#### `vite.config`
```typescript {5,6,9-13}
import path from "path"
@@ -63,7 +63,7 @@ Install `tailwindcss` and its peer dependencies, then generate your `tailwind.co
npm install -D tailwindcss autoprefixer postcss
```
- #### `postcss.config.js`
+#### `postcss.config.js`
```js
module.exports = {
@@ -143,6 +143,7 @@ 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 typescript configuration 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