I would like to incorporate sandboxes as live examples in redux-saga, but as those were not generated by CRA, I'm not 100% sure what are the exact requirements.
Would be great if the list of requirements would be listed in the main README.
That's a good point! We need more documentation for CodeSandbox in general, this would fit right in. Thanks for the feedback.
As temporary solution, this is what I check for:
package.json in rootsrc foldersrc/index.jsNot very strict, if you put have public/index.html we will also import the index.html separately.
what about webpack/babel configs?
Babel/webpack configs are not parsed yet, because CRA apps don't expose these files. Support for this is the next thing on my list though, it will come with templating + ejecting support.
so only stock CRA configs r supported right now?
Yes, which loaders are you missing?
Oh, maybe none :P was just asking, so I would know in advance what to expect
Okies! Let me know when you need a loader, I can keep it in mind for the templates later on.
Are there plans to support arbitrary directory structures in repos?
@CompuIves a friendly ping, sorry if you're busy or on holidays :sweat_smile:
For context, I want to remedy the problem of rendering GitHub repo files on Medium. CodeSandbox seems like a good solution, but imposing a specific repo structure restricts the types of repos that can be imported to CodeSandbox and therefore synced with a Medium post through the embeds. Is this planned to be addressed in the future?
Hey @jthegedus, I'm sorry for the late response. I missed your reply.
I'm deploying an update today or tomorrow that will allow arbitrary directory structures, we will attach a custom template for those sandboxes 馃槃
Oh, and this issue can be closed, the documentation is here now: https://codesandbox.io/docs
:100: Thanks!
Most helpful comment
Hey @jthegedus, I'm sorry for the late response. I missed your reply.
I'm deploying an update today or tomorrow that will allow arbitrary directory structures, we will attach a custom template for those sandboxes 馃槃