Getting Started

Installation

How to add nuxt-umbu to your Nuxt application!

Quick Start

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

Terminal
npx nuxi@latest module add nuxt-umbu

or manually install a dependency via:

Terminal
pnpm add nuxt-umbu

and register the module in your nuxt.config.ts:

nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    // other modules
    'nuxt-umbu'
  ],

    auth: {},
})

Configuration

Once you have the module installed and registered, provide the configuration in nuxt.config.ts according to your setup.

nuxt.config.ts
export default defineNuxtConfig({
  //... other parts of the config

  // nuxt-auth-sanctum options (also configurable via environment variables)
    
    runtimeConfig: {
        public: {
            baseUrl: 'http://localhost:80', // Laravel API
        }
  }
})

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