Nuxt - Laravel Precognition
GitHubNuxt Module
  • Getting Started
    • Introduction
    • Installation
  • Usage
    • Configuration
  • Validation
  • Error handling
  • File uploads
  • Use with Nuxt UI
  • Composables
    • usePrecognitionForm
    • usePrecognitionConfig
    • useNuxtFormValidator
  • Other
    • Breeze Nuxt template
    • Troubleshooting
Powered by GitBook
On this page
  1. Getting Started

Installation

How to add nuxt-sanctum-precognition to your Nuxt application!

PreviousIntroductionNextConfiguration

Last updated 2 months ago

Install Nuxt module

You can use the following command to install the module and automatically register it in your nuxt.config.ts modules section

npx nuxi@latest module add nuxt-sanctum-precognition

Required configuration

Once you have the module installed and registered, provide the configuration in nuxt.config.ts to get started, according to your setup (see more details here - )

nuxt.config.ts
export default defineNuxtConfig({
  //...

  precognition: {
    // There are no required fields to start working!
  },
})

That's it! You can now use Nuxt Precognition in your Nuxt app ✨

Laravel Precognition