Laravel Vue Sanctum SPA

Laravel and vue spa using tailwind (laravel/ui looks) for styling and sanctum for authentification

image

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 name
  • cd 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

Usage

Development

npm run watch

Production

npm run production
  • turn off debug mode .env

where it uses bootstrap 4 fontawesome and JWT for authentification

UI preview

image image image

GitHub

View Github