laravel and vuejs setup in ubuntu code example Example 1: install vue in laravel $ php artisan ui vue Example 2: install vue in laravel $ php artisan ui vue --auth