Theme Preview
Description
preview
command allows you to visualize your current theme in development using one of the demo stores associated with your Zid partner account. This command helps you see how your theme looks and functions in a live environment before deploying it to production.Usage
Required Options
--store_email <email>
: The email address associated with the development store you want to use for the preview.Authentication
themes-cli login
command to authenticate.Finding Your Development Stores
Process
1.
2.
3.
4.
5.
Example
Expected Output
Authenticating...
Finding development store for partner123@zid.dev...
Uploading theme to store...
Preview URL: http://demo.zid.dev/preview/your-theme
Important Notes
Troubleshooting
Problem | Solution |
---|---|
Incorrect email or store not found | Verify that you're using the correct email for an existing development store. |
Not authenticated | Ensure you are authenticated by running the themes-cli login command. |
Invalid theme structure | Check that your theme follows the required structure and passes validation. |
Learn More
Modified at 2025-01-23 11:02:32