Use thes commands when you are getting 404 error in your developers console that says App.js and App.css are missing and the UI looks broken in plain HTML.

The solution is you need to install the UI in your Laravel project, to make the installation follow these commands:

$ composer require laravel/ui
$ php artisan ui:auth
$ php artisan ui bootstrap --auth
$ npm install && npm run dev

Hope that works.