You need to run Vite so it can build the front-end assets, under the Installation step tells you to run the Vite development server to enable hot-module replacement.
Breeze will install and configure your front-end dependencies for you, so we just need to start the Vite development server to enable instant hot-module replacement while we build our application.
npm run dev
Every time you add a new Vue file, update your JavaScript files or add things to your CSS, you need to re-build those assets, and when you've finished development you can build production assets using.
@anandkumar as @sinnbeck pointed out, you need to run both at the same time. artisan serve will run your Laravel application proper, it will spin up a PHP development server from which it serves your Laravel application.
artisan serve will not build your assets for you, that's why you need to run the Vite development server - npm run dev - at the same time as artisan serve so that Vite can build and serve your assets automatically during development.
I had the same problem, but I chose React. It turned out that in the controller, I passed "Chirp/Index" to the method Intertia::render(), but I named the folder Chirps, and that’s why it didn’t work.