You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was't able to find a way to insert custom files to the initiated sandbox and could not find an example on docs.
Is there a way of initiate the sandbox with my custom files while using this setup?
The text was updated successfully, but these errors were encountered:
Hey @GeorgeDimCeid, thanks for opening this issue. We know that our documentation still is not that good, and we're looking forward to improving it. That's why it's so important to know when you don't find in the documentation what you're looking for.
So basically, you can use the customSetup prop which is a SandpackSetup type that supports the files options.
I was wondering if you can pass your whole project folder or to be shown inside the sandpack instance via the files prop
can anyone show me an example? @danilowoz
Trying to follow the example
I was't able to find a way to insert custom files to the initiated sandbox and could not find an example on docs.
Is there a way of initiate the sandbox with my custom files while using this setup?
The text was updated successfully, but these errors were encountered: