Skip to content

A Laravel 8 and Vue 3 SPA boilerplate using tailwind styling and sanctum for authentication 👻

Notifications You must be signed in to change notification settings

HijenHEK/laravel-vue-sanctum-spa

Repository files navigation

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

Highly inspired by laravel-vue-spa by cretueusebiu where it uses bootstrap 4 fontawesome and JWT for authentification

Other features are under development coming soon 🔥

UI preview

image image image