Introduction


If you are wanting to go down the route of having a completely separate SPA that consumes a Laravel API then these docs should provide all the reference you need to get things set up.
If you would like to hear an excellent explanation from Taylor on the how Sanctum and Fortify came about I highly recommend listening to his podcast episode.
The example project files can be found on GitHub:
Questions
If you have any questions please feel free to start a discussion over on GitHub.
Further Learning
Codecourse provides some excellent video tutorials on the subjects covered on this site and I highly recommend you take a look at the following:
- Laravel Sanctum Authentication with the Vue Composition API
- Vue Middleware Pipelines
- Laravel Sanctum (Airlock) with Vue
- Laravel Sanctum (Airlock) with Postman
Help to Grow
I want to keep growing this resource and provide a full set of documentation/videos on how to build Vue & Nuxt SPA's with a Laravel API. The plan is to release weekly updates until all areas of building an API and SPA are covered.
If you have found this project useful, please consider giving it a star on GitHub.