loading...
Cover image for Easiest way to add Vue and authentication on Laravel.

Easiest way to add Vue and authentication on Laravel.

arielmejiadev profile image arielmejiadev ・1 min read

Hi, there are many ways to install VueJS in a Laravel project, you can create a project and then install "laravel/ui" package, but there is a simpler way to work with Laravel + VueJS:

The composer Laravel installer has an update to add a flag when you are creating a Laravel project:

To update the laravel installer:

composer global update laravel/installer

Now you can use the new auth flag:

laravel new myapp --auth

That's all, thanks for reading.

Discussion

markdown guide