diff --git a/src/Console/InstallsBladeStack.php b/src/Console/InstallsBladeStack.php index c5a078c5d..0baf6c53e 100644 --- a/src/Console/InstallsBladeStack.php +++ b/src/Console/InstallsBladeStack.php @@ -21,7 +21,7 @@ protected function installBladeStack() 'alpinejs' => '^3.4.2', 'autoprefixer' => '^10.4.2', 'postcss' => '^8.4.31', - 'tailwindcss' => '^3.1.0', + 'tailwindcss' => '^4.0.0', ] + $packages; }); diff --git a/src/Console/InstallsInertiaStacks.php b/src/Console/InstallsInertiaStacks.php index acd5b8316..23369527a 100644 --- a/src/Console/InstallsInertiaStacks.php +++ b/src/Console/InstallsInertiaStacks.php @@ -27,7 +27,7 @@ protected function installInertiaVueStack() '@vitejs/plugin-vue' => '^5.0.0', 'autoprefixer' => '^10.4.12', 'postcss' => '^8.4.31', - 'tailwindcss' => '^3.2.1', + 'tailwindcss' => '^4.0.0', 'vue' => '^3.4.0', ] + $packages; }); @@ -239,7 +239,7 @@ protected function installInertiaReactStack() '@vitejs/plugin-react' => '^4.2.0', 'autoprefixer' => '^10.4.12', 'postcss' => '^8.4.31', - 'tailwindcss' => '^3.2.1', + 'tailwindcss' => '^4.0.0', 'react' => '^18.2.0', 'react-dom' => '^18.2.0', ] + $packages; diff --git a/src/Console/InstallsLivewireStack.php b/src/Console/InstallsLivewireStack.php index 93c75abd9..62f4283f3 100644 --- a/src/Console/InstallsLivewireStack.php +++ b/src/Console/InstallsLivewireStack.php @@ -21,7 +21,7 @@ protected function installLivewireStack($functional = false) '@tailwindcss/forms' => '^0.5.2', 'autoprefixer' => '^10.4.2', 'postcss' => '^8.4.31', - 'tailwindcss' => '^3.1.0', + 'tailwindcss' => '^4.0.0', ] + $packages; }); diff --git a/stubs/default/postcss.config.js b/stubs/default/postcss.config.js index 49c0612d5..78253b6d0 100644 --- a/stubs/default/postcss.config.js +++ b/stubs/default/postcss.config.js @@ -1,6 +1,5 @@ export default { plugins: { - tailwindcss: {}, - autoprefixer: {}, + "@tailwindcss/postcss": {}, }, }; diff --git a/stubs/default/resources/css/app.css b/stubs/default/resources/css/app.css index b5c61c956..f1d8c73cd 100644 --- a/stubs/default/resources/css/app.css +++ b/stubs/default/resources/css/app.css @@ -1,3 +1 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import "tailwindcss"; diff --git a/stubs/default/resources/views/auth/login.blade.php b/stubs/default/resources/views/auth/login.blade.php index 80e1b392d..62a3f88af 100644 --- a/stubs/default/resources/views/auth/login.blade.php +++ b/stubs/default/resources/views/auth/login.blade.php @@ -27,14 +27,14 @@