Laravel 7 vue not working

vue component not rendering laravel


Bootstrap and Vue scaffolding provided by Laravel is located in the laravel/ui.
You have to install package using Composer:
composer require laravel/ui

Once the laravel/ui package has been installed.You will install the frontend scaffolding using this ui Artisan command:
//Generate basic scaffolding
php artisan ui bootstrap 
php artisan ui vue 

//Generate login/registration scaffolding
php artisan ui bootstrap --auth
php artisan ui vue --auth

After running these all commands successfully, you can find the vue component named ExampleComponent.vue in the js folder.



Thank you