Skip to content

Commit

Permalink
remove tabs for alternat postcss
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMulligan committed Jan 30, 2025
1 parent d02ac2b commit ace155a
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions apps/www/src/content/docs/installation/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,11 @@ npm create vite@latest my-vue-app -- --template vue-ts

Install `tailwindcss` and its peer dependencies, then generate your `tailwind.config.js` and configure `postcss` plugins

<TabsMarkdown>
<TabMarkdown title="vite.config">

```bash
npm install -D @tailwindcss/vite @tailwindcss/postcss autoprefixer
```

<Callout>

> [!TODO]
> not sure if the following still applicable
If you're utilizing `postcss.config.js`, these changes will be inconsequential.

</Callout>

#### `vite.config`
#### `vite.config`

```typescript {2,3,8-12}
import vue from '@vitejs/plugin-vue'
Expand All @@ -61,28 +50,6 @@ export default defineConfig({
})
```

</TabMarkdown>

<TabMarkdown title="postcss.config.js">

```bash
npm install -D tailwindcss autoprefixer postcss
```

#### `postcss.config.js`

```js
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
```

</TabMarkdown>
</TabsMarkdown>

### Edit tsconfig/jsconfig.json

<Callout>
Expand Down

0 comments on commit ace155a

Please sign in to comment.