diff --git a/docs/platform/webcontainers/project-config.md b/docs/platform/webcontainers/project-config.md index 61c5ab10..61da5b0a 100644 --- a/docs/platform/webcontainers/project-config.md +++ b/docs/platform/webcontainers/project-config.md @@ -121,6 +121,29 @@ The default `"auto"` setting enables showing changes as user types, which may pr A map of default environment variables that will be set in each top-level shell process. +### view + + + + + + + + + + +
Type"default" | "editor"
Default"default"
+ +The `view` option allows you to configure the layout the editor uses at startup. + +The available settings are: + +- `"default"` (default): Editor & Preview side-by-side +- `"editor"`: Just the Editor, no preview + +You can also specify this option under the key `pullRequests` or `issues` to make it different when opening respectively. + + ## With URL parameters ### startScript @@ -144,3 +167,7 @@ You can also run several scripts sequentially using comma-separated values. For ``` https://stackblitz.com/edit/project-id?startScript=build,serve ``` + +### view + +Use the `view` parameter to configure the layout the editor uses at startup. Either `default` or `editor`