Basic setup Laravel 8 + Fortify + Tailwind + Vue 2
The idea is to have basic public facing website handled by Laravel, so it's going to be quick and doesn't need to setup server rendering for Vue.
- All essentials auth pages included
- Email confirmation sequence
- Private web app SPA Vue JS
Private route URL is /app
, defined in:
app\Providers\RouteServiceProvider.php
resources\js\router.js
routes\web.php
- Copy
env.example
and rename to.env
- Fill in database and email
- Install all dependencies
composer install
andnpm install
- Run
php artisan migrate
- Run
php artisan serve
and in another terminalnpm run watch
routes\web.php
: Remove all routes under Email Verification, and remove middleware verifiedconfig\fortify.php
: RemoveFeatures::emailVerification()
app\Models\User.php
: Removeimplements MustVerifyEmail