🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

nuxt-swa

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-swa

Nuxt module for Azure Static Web Apps

0.6.0
latest
Source
npm
Version published
Weekly downloads
63
173.91%
Maintainers
0
Weekly downloads
 
Created
Source

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

  • 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
  • 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

Keywords

nuxt

FAQs

Package last updated on 31 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts