composer require laravel/ui --dev
//to generate basic frontend scafollding
php artisan ui bootstrap
php artisan ui vue
php artisan ui react
//You can also generate the login/registration scaffolding by appending "--auth"
//to either of the above. E.g
php artisan ui bootstrap --auth
//than run
npm install
npm run dev