Skip to content

Commit 1b4d52e

Browse files
Adding undocumented view options (codesandbox#3634)
* Adding undocumented view options * Update 3-configuration.md * Update 3-configuration.md Co-authored-by: Michaël De Boey <[email protected]>
1 parent f6fc5ac commit 1b4d52e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/homepage/content/docs/3-configuration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ support these options:
2929
| Option | Description | Possible Values | Default Value |
3030
| ------------------------ | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------- |
3131
| `infiniteLoopProtection` | Whether we should throw an error if we detect an infinite loop | `true`/`false` | `true` |
32-
| `hardReloadOnChange` | Whether we should refresh the sandbox page on every change, good for sandboxes with global state. | `true`/`false` | `false` |
32+
| `hardReloadOnChange` | Whether we should refresh the sandbox page on every change, good for sandboxes with global state | `true`/`false` | `false` |
3333
| `template` | Which sandbox template to use | [see here](https://github.com/codesandbox-app/codesandbox-importers/blob/master/packages/types/index.d.ts#L24-L39) | smart detection, w/ fallback to `create-react-app` |
34+
| `view` | Which view to show first in the preview | Client: `browser`/`console`/`problems`/`tests`<br />Container: `browser`/`console`/`problems`/`terminal` | `browser`
3435
| `container` | The container object contains the configurable port option, for example: `container: { port: 3212}` |
3536
| `port` | The main port which the browser window listens to | 1024 - 65535 | First opened port inside the container. |

0 commit comments

Comments
 (0)