Laravel Vue Sanctum SPA
Laravel and vue spa using tailwind (laravel/ui looks) for styling and sanctum for authentification
Features
- Laravel 8
- Vue + VueRouter + Vuex
- Login, register, update profile
- password reset
- Authentication with Sanctum
- Tailwind + Heroicons
Installation
git clone [email protected]:HijenHEK/laravel-vue-sanctum-spa.git --branch v1.0.1 my-spa
set verion and app namecd my-spa
- Edit
.env
and set your database connection details and your APP_URL php artisan key:generate
php artisan migrate
npm install
npm run dev
mailer
- set up mailer details
- put QUEUE_CONNECTION=database
Notes
- make sure your domain is included in the statefull allowed domains (app/config/sanctum.php) to avoid Unauthorised domains issue #3.
Usage
Development
npm run watch
Production
npm run production
- turn off debug mode .env