Laravel Airlock with Vue for SPA Auth
We take a look at using Laravel Airlock to authenticate our Single Page Application in Vue. Airlock provides a lightweight authentication system relying on Laravel s builtin cookiebased session authentication services. We use a Vue CLI application to scaffold out the frontend and a Laravel 7 application for the backend. We also make use of Tailwind UI components, look at navigation guards in Vue and do some basic validation. GitHub Repo for Laravel:
|
|