0.1.1 ⢠Published 2 years ago
nuxt-auth-core v0.1.1
š„ Nuxt Auth Core
Bare minimum auth support for Nuxt apps
š§ This module is an experimental work in progress š§
Checkout ./playground for usage.
Quick Setup
- Add
nuxt-auth-core
dependency to your project
# Using pnpm
pnpm add -D nuxt-auth-core
# Using yarn
yarn add --dev nuxt-auth-core
# Using npm
npm install --save-dev nuxt-auth-core
- Add
nuxt-auth-core
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: ['nuxt-auth-core'],
})
That's it! You can now use My Module in your Nuxt app āØ
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release