/laravel-vue

VueJS SPA example using Sanctum & Fortify authentication with Laravel.

Primary LanguageVueMIT LicenseMIT

Laravel Vue SPA Using Sanctum & Fortify Authentication

Documentation

The full documentation for this demo app can be found at Build a Laravel Vue Spa.

Project setup

npm install

IMPORTANT make sure you have a .env.local file with your API URL added

VUE_APP_API_URL=http://localhost

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.