Run in Sandbox
Post code-generation, follow the steps below to run the code in sandbox:- Click Run in Sandbox button.
- Once the server starts running, go to the localhost server.
- Fix console errors, if any.
Configure sandbox
Kombai lets you configure the sandbox to closely replicate the app’s real-world conditions. Through Configure Sandbox, you can:- Add environment variables: Kombai lets you add environment variables within the sandbox.
- Add wrapper components: Kombai lets you configure specific providers that are required to run your components.
- Click Quick Settings icon in Kombai’s input box.
- Click Configure sandbox.
Send error to Kombai
If there are console errors in the sandbox preview, you can send them back to Kombai. Follow the steps below to send errors to Kombai:- Click the Kombai logo on the bottom-right of the localhost preview.
- Click Send Error to Kombai.