> dev
> vite
vite v2.9.13 dev server running at:
> Local: http://localhost:3000/
> Network: use `--host` to expose
ready in 240ms.
Laravel v9.19.0
> APP_URL: http://localhost
But when I open in the browser http://localhost:3000 I get a 404 not found error in the console log.
S npm run dev
> dev
> vite
vite v2.9.14 dev server running at:
> Local: http://localhost:3000/
> Network: use `--host` to expose
ready in 699ms.
Laravel v9.20.0
> APP_URL: http://localhost
@esfer if your answer isn't already in this thread, I suggest you create a new one. Your problem might be completely different and it's impossible to help 2 people with similar problems in one thread
Laravel UI v3 is not compatible with Laravel 9 and Vite. UI v3 and lesser use Laravel Mix and not Vite like Laravel 9 v9.19 and up.
To use Laravel UI with Laravel 9 and Vite you need to use the dev version of Laravel UI, which will be v4 sometime in the future, that merged support for Vite like 13 hours ago at the time of writing.