Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions vscode-extension/hypercanvas-preview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ Recommended: **GLM via Z.ai** — flat-rate starting from $10/mo.
- VS Code 1.74 or later
- A React project (JSX/TSX)

## FAQ

### Preview shows a white screen instead of my component

Check your app’s configuration for **iframe embedding** (for example `X-Frame-Options`, `Content-Security-Policy` `frame-ancestors`, or framework-specific headers). If the dev server blocks being framed, the preview cannot render. **Allow embedding in development** (for example relax or omit those headers for `NODE_ENV=development`, or add your preview origin to `frame-ancestors`) so the VS Code webview can load the iframe.

## Development

See [DEVELOPMENT.md](https://github.com/hyperide/hyper-ext/blob/main/DEVELOPMENT.md) for architecture details, build instructions, and contribution guide.
Expand Down