Getting Started
Introduction
Nuxt module for Laravel integration to get a seamless experience with Sanctum and Precognition features.
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.
Since the original implementation of
laravel-precognition
for Vue is using axios
,
we could not use it with ofetch
and Nuxt.Key Features
This module includes a range of features designed to streamline broadcasting:
- Sanctum-based authentication
- Automatic handling of Precognition headers
- Seamless work with Laravel validation errorsa
- Easy to migrate from Laravel Precognition Vue package
- Compatible with Nuxt UI forms
- TypeScript support
- Simple configuration
We recommend looking at our breeze-nuxt template that works flawlessly with breeze-api Laravel application with preconfigured Sanctum, Precognition and Echo modules.
Ecosystem
This project is a part of Nuxt Laravel modules ecosystem which you may find useful:
Support
If you like this module, please support the project to help me maintain and improve it!