nuxt-maintenance-module

1.1.2 • Public • Published

nuxt-maintenance-module

A Nuxt.js module that can easily enable maintenance mode while upgrading your system.

Installation

npm install nuxt-maintenance-module

Useage

just simple set the environment variable MAINTENANCE_MODE=enable when running your nuxt app.

MAINTENANCE_MODE=enable nuxt start

if maintenance mode was enabled, user access any pages will be redirect to the maintenance page(default: /maintenance). unless add user's IP address in .maintenance.ip file at root directory of the app.

# .maintenance.ip (one IP address per line)

192.168.1.2
192.168.2.3

License

MIT

Package Sidebar

Install

npm i nuxt-maintenance-module

Weekly Downloads

18

Version

1.1.2

License

MIT

Unpacked Size

5.21 kB

Total Files

11

Last publish

Collaborators

  • tjeeay