Laravel install : should I run php artisan ui for all of bootstrap, vue and react or only for one of them

Viewed 839

I am rather new to laravel. I could manage to create my first site and deploy it, but attempting to create a new one, I stumble over something I probably misunderstood.

I am familiar with bootstrap but not at all with vue and react. What I want to do is to setup a new Laravel install with registration verification email nevertheless, reading the installation page on the documentation I bump into this:

Once the laravel/ui package has been installed, you may install thefrontend scaffolding using the ui Artisan command:

// Generate basic scaffolding...
php artisan ui bootstrap
php artisan ui vue
php artisan ui react

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

In each of these paragraphs, shoud I run only one command or the 3?

What troubles me is the fact that after running one command, I am asked to run npm install & npm run dev and each time I am asked if I want to replace numerous templates and controllers.

0 Answers
Related