-
Notifications
You must be signed in to change notification settings - Fork 43
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
Create new playground app #263
Comments
Correct me if I am wrong. This webcontainers are used to create interactive code editors on web where user can play around and get to learn more? |
Yeah exactly. I think we can find a lot of examples in other more mature libraries |
On website they have put example of sveltekit. Sveltkit has implemented playground on their website. You can check it out. |
Yes exactly @fazzaamiarso ... let me know what you find out. I'm not sure if it needs a StackBlitz account and how well it works on an Astro app? :D We may need to build this with another framework if not |
@ayoayco I think it's quite difficult to do it with Astro because webcontainer mostly works on the client side. We can use framework like React (most familiar with me) or any other like svelte, solid. But I found this playground with Solid, which is pretty solid 🤣. I always wanted to try Solid though. If I'm not mistaken, the what do you think? |
I've build a minimal playground with vanilla-ts + vite. Tried using our library and it worked. Although, we definitely need a framework for our DX. Maybe svelte or react? |
@fazzaamiarso I'm more excited to try svelte than react to be honest. :) I'm fine if you want to PR what you have now so we can iterate on improving it. But if you're also interested to add a framework I vote for svelte because I'm curious about it as well. Might be a nice new project. enhance.dev is also interesting :) |
In addition to our landing page and docs sites, we can now create a playground using https://webcontainers.io
The text was updated successfully, but these errors were encountered: