Home » Php » php – Laravel Vue scaffolding, Auth and Nova installation order?

php – Laravel Vue scaffolding, Auth and Nova installation order?

Posted by: admin February 25, 2020 Leave a comment

Questions:

If project requires: Laravel 6, Vue scaffolding, Auth and Laravel Nova.
Is there any specific order of installation of all those tools to get it all installed right?

Does Nova requires that Laravel authentication to be installed prior to Nova?
Does Nova comes with it’s own user authentication?
Will Nova conflict with Laravel Auth that was installed prior to Nova?

How to&Answers:

I did several tests and found no difference in the results with different order of Laravel, Auth, Nova and Vue installation.
Looks like Nova doesn’t create additional Users table, and uses the one that comes with Laravel.

Logical installation order might be:

laravel new MyProjectName
php artisan ui vue --auth (use --auth flag if you need authentication)
php artisan nova:install (make sure you have copied Nova files first)