We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcbced5 commit 45a5cc0Copy full SHA for 45a5cc0
ui-sketcher-webview/index.html
@@ -12,9 +12,8 @@
12
<body>
13
<div id="root"></div>
14
<script>
15
- window.displayPreviewOnStart = true;
16
- window.previewUrl = "http://localhost:5173";
17
- window.relativePath = "src/components/MyComponent.tsx";
+ window.workspaceId = "test-workspace";
+ window.partialRenderEnabled = true;
18
</script>
19
<script type="module" src="/src/main.tsx"></script>
20
</body>
ui-sketcher-webview/src/global.d.ts
@@ -1,7 +1,5 @@
1
interface Window {
2
- displayPreviewOnStart?: boolean;
3
partialRenderEnabled?: boolean;
4
previewUrl?: string;
5
- relativePath: string;
6
workspaceId: string;
7
}
0 commit comments