-
Notifications
You must be signed in to change notification settings - Fork 8
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
Set up stackblitz or codepen template with Nimble #325
Comments
Created a nimble angular stackblitz here: https://stackblitz.com/edit/nimble-angular-issue-template Some issues currently:
|
I think all of the following applies only to stackblitz with their web containers feature which is beta and not supported on safari (?). Looks like we can create a url to import from github with stackblitz: https://developer.stackblitz.com/docs/platform/importing-projects/#import-from-github
|
Awesome!
A couple suggestions, none of which is a showstopper:
Easy, right? :-D I added a note to #290 to mention this as another rationale for open sourcing. |
Another fiddle alternative is codesandbox:
|
Stackblitz added a new webcontainer api so you can have more control / fully embed the environment on a page. Could make the show code button in storybook bring up a full running example 🤔 |
😯 Problem to Solve
I wanted to quickly play with a Nimble component configuration that wasn't available from Storybook (in my case, I wanted to make a demo for someone to show how to use an arbitrary image as a button icon). Ideally I could click a button and be launched into a live editor environment that imports all the right Nimble dependencies, shows a code sample with some nimble components, and renders the components in a sandbox page.
💁 Proposed Solution
Codepen and Stackblitz are two sites that offer this functionality. I'd love to see a link from the top level README and Storybook that takes you to one of these with everything Nimble needs already pre-populated.
The text was updated successfully, but these errors were encountered: