Skip to content

vtex-apps/store-maintenance

Repository files navigation

🚨 Disclaimer - Template Application

⚠️ This project is not maintained by VTEX, and this app is provided as a working example on how this feature can be implemented. Improvements and fixes will be on the implementation team side.

All template applications provided are developed by the VTEX community, you can use them freely.

 

VTEX Store Maintenance

Description

VTEX Store Maintenance is a small app that puts your side into a maintenance mode when installed. As soon as it is active, any route will redirect to /maintenance Uninstall to put the store back live.

📢 Disclaimer: Don't fork this project; use, contribute, or open issue with your feature request.

Table of Contents

Usage

Just install the app in order to put your page into a maintenance mode.

  vtex install vtex.store-maintenance

The app then will redirect any user browsing the page to /maintenance. If you have no content at /maintenance, this app will make sure to render at least a minimal message. It's up to you to design the /maintenance page the way you like to have it.

We do offer a theme that takes care of the basics. You can clone it from here and install it alongside your native store theme. This is not mandatory to do, but offers a basic layout that you can start working on.