Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix sandbox.config.json link to ITemplate (lines) #6064

Merged
merged 1 commit into from
Aug 24, 2021
Merged
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
2 changes: 1 addition & 1 deletion packages/homepage/content/docs/3-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ support these options:
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| `infiniteLoopProtection` | Whether we should throw an error if we detect an infinite loop | `true` / `false` | `true` |
| `hardReloadOnChange` | Whether we should refresh the sandbox page on every change, good for sandboxes with global state | `true` / `false` | `false` |
| `template` | Which sandbox template to use | [see here](https://github.com/codesandbox/codesandbox-importers/blob/master/packages/types/index.d.ts#L34-L59) | smart detection, w/ fallback to `"create-react-app"` |
| `template` | Which sandbox template to use | [see here](https://github.com/codesandbox/codesandbox-importers/blob/master/packages/types/index.d.ts#L39-L64) | smart detection, w/ fallback to `"create-react-app"` |
| `view` | Which view to show first in the preview | Client: `"browser"` / `"console"` / `"problems"` / `"tests"`<br />Container: `"browser"` / `"console"` / `"problems"` / `"terminal"` | `"browser"` |
| `disableLogging` | Whether we should disable in-browser logging and have all logs created by the sandbox go to the browser console | `true` / `false` | `false` |
| `container` | The container object contains the port, start script and Node.js major version, for example: `"container": { "port": 3212, "startScript": "custom", "node": "14" }` |
Expand Down