docs: updated installation docs to reflect the new option tsConfigPath
This commit is contained in:
parent
f1a7097464
commit
3d058d23c9
|
|
@ -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"
|
|||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Astro</title>
|
||||
</head>
|
||||
<body>
|
||||
<Button>Hello World</Button>
|
||||
</body>
|
||||
<head>
|
||||
<title>Astro</title>
|
||||
</head>
|
||||
<body>
|
||||
<Button>Hello World</Button>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user