1.1.2 • Published 3 years ago

nuxt-maintenance-module v1.1.2

Weekly downloads
82
License
MIT
Repository
github
Last release
3 years ago

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

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago