Skip to content

Commit a7919b5

Browse files
committed
fix: used tailwindcss with vite, and removing PostCSS
1 parent 7386729 commit a7919b5

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/TallPreset.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ class TallPreset extends Preset
1212
'tailwindcss' => '^4.0',
1313
'@tailwindcss/forms' => '^0.5',
1414
'@tailwindcss/typography' => '^0.5',
15-
'@tailwindcss/postcss' => '^4.0',
16-
'@tailwindcss/nesting' => 'latest',
15+
'@tailwindcss/vite' => '^4.0',
1716
];
1817

1918
const NPM_PACKAGES_TO_REMOVE = [

stubs/default/postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

stubs/default/vite.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { defineConfig } from 'vite'
22
import laravel from 'laravel-vite-plugin'
3+
import tailwindcss from '@tailwindcss/vite'
34

45
export default defineConfig({
56
plugins: [
67
laravel({
78
input: ['resources/css/app.css', 'resources/js/app.js'],
89
refresh: true,
910
}),
11+
tailwindcss(),
1012
],
1113
})

0 commit comments

Comments
 (0)