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

1.0.6 • Public • Published

Nuxt Maintenizr

npm version npm downloads License Nuxt

Maintenance module for Nuxt.js

Features

  • Nuxt 3 ready
  • Typescript support
  • Override default maintenance page
  • CLI to manage maintenance status of application

Quick Setup

  1. Add nuxt-maintenizr dependency to your project:
npx nuxi module add nuxt-maintenizr
  1. Add nuxt-maintenizr to the modules section of nuxt.config.ts:
export default defineNuxtConfig({
  modules: ['nuxt-maintenizr'],
});

That's it! You can now use a beautiful and modern maintenance mode in your Nuxt app ✨

How to use

  1. Show current status of the application:
npx nuxt-maintenizr status 
  1. Enable maintenance mode (Turn off the application):
npx nuxt-maintenizr down
  1. Disable maintenance mode (Turn on the application):
npx nuxt-maintenizr up

Contribution

Local 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

Support

Hi, I am Thomerson Roncally, a Fullstack Developer that love to build things to help other developers. If you like my work and want to support me, you can donate here:

ko-fi

Readme

Keywords

none

Package Sidebar

Install

npm i nuxt-maintenizr

Weekly Downloads

8

Version

1.0.6

License

MIT

Unpacked Size

14.3 kB

Total Files

18

Last publish

Collaborators

  • roncallyt