//Composer command
composer require laravel/ui
// Auth with Vue
php artisan ui vue --auth
npm install
npm install vue
npm install vue-template-compiler vue-loader vue-router vuex axios vue-axios --save-dev --legacy-peer-deps
npm run dev
//Change package.json to for vue2
"vue": "^2.6.11",
"vue-loader": "^15.9.6",
"vue-template-compiler": "^2.6.12",
"laravel-mix": "^6.0.6",
//if Vue 2 change Vue rounter to "vue-router": "^3.2.0", in package.json file
npm add @vue/compiler-sfc -D