HijenHEK / laravel-vue-sanctum-spa

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com: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

About

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


Languages

Language:PHP 62.9%Language:Vue 24.3%Language:Blade 12.2%Language:Shell 0.5%