@voorhoede/nuxt-preview-mode-module
v2.0.1
Published
Module enabling persistent preview mode for nuxt
Downloads
64
Readme
@voorhoede/nuxt-preview-mode-module
Extends Nuxt's built-in preview mode.
Features
- 🚪 Enables preview mode through routing (?preview=true)
- 🔒 Secures preview mode with a (client-side) secret (&previewSecret=...)
- 🧠 Persists preview mode through routing & page refresh using storage
- 🎛️ Provides programmatic way to enter() and exit() preview mode
- 🍫 Provides component to display and control preview mode
Maintenance
This module is developed by De Voorhoede. We will continue to maintain this module as long as we use this in our projects. Feel free to use and fork this module. We will only handle issues or accept pull requests if they aid our projects.
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Voorhoede