[Vuejs]-How to install vue and setup vue on laravel?

1๐Ÿ‘

โœ…

If you are using Laravel below 6.X,

  1. choose the frontend scaffolding preset with php artisan preset vue
  2. install the required npm packages with npm install
  3. run the first build to get the frontend looking good with npm run dev

Or if you are using Laravel 6.X

  1. get the scaffolders with composer require laravel/ui
  2. choose the frontend scaffolding preset with php artisan ui vue
  3. install the required npm packages with npm install
  4. run the first build to get the frontend looking good with npm run dev
๐Ÿ‘คTaha Paksu

Leave a comment