nuxt-users

Configure nuxt-users authentication, roles, and database CLI commands for Nuxt 3 and Nuxt 4.

56|7|Updated Jul 8, 2025
One-click install
npx skills add https://github.com/rrd108/nuxt-users --skill nuxt-users
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt-users
Source: https://github.com/rrd108/nuxt-users/tree/main/skills/nuxt-users
Command: npx skills add https://github.com/rrd108/nuxt-users --skill nuxt-users

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes the grunt work of wiring authentication, user management, permissions, and database connectors in Nuxt 3/4 apps so teams can ship secure flows without reinventing the core module.

Core Features & Use Cases

  • Modular Nuxt configuration: Handles nuxtUsers settings for connector options, API paths, permissions, mailers, and locale overrides in nuxt.config.ts.
  • Database & CLI management: Covers migrations, user creation, and legacy table setup for SQLite, MySQL, or PostgreSQL with the nuxt-users CLI.
  • Composables and components: Guides usage of useAuthentication, useUsers, usePublicPaths, password validation, and prebuilt UI components like NUsersLoginForm, NUsersLogoutLink, and admin lists. Use Case: Implement role-based access, password reset emails, and a responsive login form with nuxt-users as the foundation for your Nuxt app.

Quick Start

Tell the assistant to install nuxt-users, edit nuxt.config.ts to enable the module, and run the CLI to migrate and add an admin user.

Frequently Asked Questions about nuxt-users

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add authentication and role permissions to a Nuxt 3 or Nuxt 4 application?

To add Nuxt authentication, install the module, configure nuxtUsers options in nuxt.config.ts, and run CLI migrations to set up database-backed user stores and role permissions.

What is the best way to manage users and run database migrations in a Nuxt app?

Manage Nuxt users by using the nuxt-users CLI to execute database migrations, create admin users, and set up legacy tables for SQLite, MySQL, or PostgreSQL connections.

Does this Nuxt authentication module support SQLite, MySQL, and PostgreSQL?

Yes, the Nuxt authentication module supports SQLite, MySQL, and PostgreSQL by configuring proper database connectors and running migrations or CLI tasks in your Nuxt project.

Can I use prebuilt components for login forms and user logout in Nuxt?

Yes, you can use prebuilt Nuxt UI components like NUsersLoginForm and NUsersLogoutLink, along with composables like useAuthentication, to implement responsive authentication flows.

How do I configure API paths and password validation for Nuxt authentication?

Configure Nuxt authentication by defining API paths, mailers, password validation, and locale overrides inside the nuxtUsers options within your nuxt.config.ts file.

What Nuxt composables are available for managing user authentication and public paths?

Available Nuxt authentication composables include useAuthentication for login states, useUsers for user management, and usePublicPaths for routing controls in your application.