Skip to content

Commit ace155a

Browse files
committed
remove tabs for alternat postcss
1 parent d02ac2b commit ace155a

File tree

1 file changed

+1
-34
lines changed
  • apps/www/src/content/docs/installation

1 file changed

+1
-34
lines changed

apps/www/src/content/docs/installation/vite.md

+1-34
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,11 @@ npm create vite@latest my-vue-app -- --template vue-ts
2727

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

30-
<TabsMarkdown>
31-
<TabMarkdown title="vite.config">
32-
3330
```bash
3431
npm install -D @tailwindcss/vite @tailwindcss/postcss autoprefixer
3532
```
3633

37-
<Callout>
38-
39-
> [!TODO]
40-
> not sure if the following still applicable
41-
If you're utilizing `postcss.config.js`, these changes will be inconsequential.
42-
43-
</Callout>
44-
45-
#### `vite.config`
34+
#### `vite.config`
4635

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

64-
</TabMarkdown>
65-
66-
<TabMarkdown title="postcss.config.js">
67-
68-
```bash
69-
npm install -D tailwindcss autoprefixer postcss
70-
```
71-
72-
#### `postcss.config.js`
73-
74-
```js
75-
module.exports = {
76-
plugins: {
77-
tailwindcss: {},
78-
autoprefixer: {},
79-
},
80-
}
81-
```
82-
83-
</TabMarkdown>
84-
</TabsMarkdown>
85-
8653
### Edit tsconfig/jsconfig.json
8754

8855
<Callout>

0 commit comments

Comments
 (0)