nuxt-swa
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Nuxt SWA Module

NPM Version License Nuxt Node.js CI codecov

Provides Azure Static Web Apps features to your Nuxt apps.

Features

  • 🔑  Authentication & Authorization
  • 📐  Provide type for nitro.azure.config
  • 🗄️  Data API support

Quick Setup

  1. Add nuxt-swa dependency to your project
# Using pnpm
pnpm add -D nuxt-swa

# Using yarn
yarn add --dev nuxt-swa

# Using npm
npm install --save-dev nuxt-swa
  1. Add nuxt-swa to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    'nuxt-swa'
  ]
})

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

Development

# Install dependencies
pnpm install

# Develop with the docs
pnpm dev

# Build module & docs
# Note: You need to purchase a Nuxt UI Pro license key and set it in the `NUXT_UI_PRO_LICENSE` environment variable.
pnpm build

# Run ESLint & Prettier
pnpm lint

# Run ESLint & Prettier (auto fix)
pnpm format

# Run Vitest
pnpm test

Package Sidebar

Install

npm i nuxt-swa

Weekly Downloads

12

Version

0.6.0

License

MIT

Unpacked Size

46 kB

Total Files

25

Last publish

Collaborators

  • ddradar