Closed
Description
The new framework setup docs for Laravel are not functioning on a fresh install of Laravel and Tailwind 4.
It makes no mention of what to do with the existing laravel-vite-plugin that is installed as default. If you leave it in place you get the following error:
[vite] Internal server error: [postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.
If you remove it, you then can't compile as you get a vite error:
Could not resolve entry module "index.html".
If you remove it and try running npm run dev
you get a manifest error as the Laravel plugin is presumably required.
- If the Laravel plugin is still required, the docs page should show this.
- If it is not required, the docs page should cover how to get it to work correctly so you get a valid manifest.
As it stands on a fresh install of Laravel 11 and TailwindCSS 4, you cannot get a working environment setup using the provided instructions.
Metadata
Metadata
Assignees
Labels
No labels