Set up Vue, Vuex, Vue | laravel vue router
Laravel’sscaffoldingforbothfrontendandbackenddevelopmenthasevolvedinthepastcoupleofversionreleases.Forexample,whenscaffoldingauthenticationinLaravel4&5,we’dusethegoodold“make:auth”command;whichwasquitedeclarativeanddidn’tgiveanyotherfrontendoptionsbesidesblade[1].Thiscommandprettymuchscaffoldsabasicauthenticationsystem,includingroutes,views,andcontrollersnecessaryforregistration,login,andpasswordrecovery.Thisisconvenient,ofcourse,ifyouintendtouseBladeforyourviewsandSSR,butsometimesthat’s...
Laravel’s scaffolding for both frontend and backend development has evolved in the past couple of version releases. For example, when scaffolding authentication in Laravel 4 & 5, we’d use the good old “make: auth” command; which was quite declarative and didn’t give any other frontend options besides blade[1]. This command pretty much scaffolds a basic authentication system, including routes, views, and controllers necessary for registration, login, and password recovery.
This is convenient, of course, if you intend to use Blade for your views and SSR, but sometimes that’s not the case. Say you intend to build a SPA with your favorite Javascript library, but still want all the goodness of Laravel.