This module provides an easy way to incorporate the Laravel Precognition validation approach into your project and leverage all the benefits of our existing module - nuxt-auth-sanctum.
- Sanctum-based client (see nuxt-auth-sanctum module)
- Automatic handling of Precognition headers
- Seamless work with Laravel validation errors
- Easy to migrate from Laravel Precognition Vue package
- TypeScript support
- Predefined configuration
Install the module to your Nuxt application with one command:
npx nuxi module add nuxt-sanctum-precognition
That's it! You can now use Nuxt Laravel Sanctum Precognition in your Nuxt app ✨