Preview an existing theme with real store data through Shopify development by default. Local simulation remains available when explicitly requested.
| Context | What to provide |
|---|---|
| Required context | Theme source, revision/changes and, for Shopify development, the exact store and upload authorization. |
| Optional context | Routes, viewports, existing preview identity/ownership, or explicitly requested fictional-data simulation. |
Execution requirements: Commands, a persistent process and protected browser access; Shopify mode also needs authenticated CLI and upload authorization. Setup runs outside Glue's read-only reviews, which consume prepared URLs.
How to use
- Invoke
$preview-shopify-themeto verify or prepare the target, start it through the host, and check browser access. - Use the returned URL and evidence identity for review. Keep the preview running for an interactive handoff, then request cleanup when finished.
Examples
Use $preview-shopify-theme to run this theme locally with fictional sample data and no Shopify credentials. Keep the verified preview running for review.
Use $preview-shopify-theme to prepare a Shopify development preview of this theme for example.myshopify.com. Verify the proposed upload and destination against my authorization, preserve unrelated previews, and return the verified links.