Implementing Live Preview
Basic implementation
How to enable Live preview on your Stack?
- Under stack settings, go to Live Preview, tick enable live preview and select a Default Preview Environment.
- Go to Environment settings and add the base URL (hosted website URL) in that environment’s settings.This hosted website should be fetching data from the same environment.
Generate Preview Token for you stack
- Under stack settings, go to tokens.
- Under Delivery Token, create a new token.
- Fill in the name and description (optional), then select the branch and environment, enable the Create Preview Token toggle, and Generate Token.