Learn how to authenticate with a Laravel API from Vue using the Composition API. We'll set up a fresh Laravel project with Sanctum and Fortify, then implement the ability to authenticate with a beautiful, simple auth module thanks to the flexibility of the Composition API.
The Vue <script setup> syntax lets you clean up your Vue script area when you're using the Composition API. Variables and imports are automatically shared with your template, there's less boilerplate code, and it's faster in runtime performance! In this series, we'll cover everything you need to know about working with the script setup syntactic sugar.