Installation
Minimum required version of Nuxt - 3.12.0.
Install Nuxt module
You can use the following command to install the module and automatically register it in your nuxt.config.ts
modules section
Required configuration
Once you have the module installed and registered, provide the main required configuration in nuxt.config.ts
to get started
nuxt.config.ts
That's it! You can now use Nuxt Auth Sanctum in your Nuxt app ✨
Install package manually
Add nuxt-auth-sanctum
dependency to your project
Register module
Add nuxt-auth-sanctum
to the modules
section of nuxt.config.ts
nuxt.config.ts