-
Notifications
You must be signed in to change notification settings - Fork 36
Support for vuejs #22
Comments
Thank you for your interest, right now there's no vue support I'm pretty sure. I haven't tested. Would be interested in hearing thoughts on how to support it. |
+1 for Vue support |
Actually, it should be doable, as vue also requires full definition of all component params. You can get more details here. But as you can see from the example below, props have types (Number, Boolean, String, Object, Array, Symbol, Function) defined and that information can be extracted to provide smart knob functionality.
I added a sample storybook vuejs project here in case someone wants to try. Would be great to find way to support smart knobs in vue. |
@ndelangen is it still a project in the works? |
@elevatebart Storybook 6.0 includes Args, which will replace knobs at some point in the 6.x cycle. I just added automatic args-based controls for Vue in this PR: Knobs is widely used, so improving smart-knobs will benefit everybody who prefers that API, or is stuck using it. Helping out with Args for Vue would also be a useful way to contribute! |
I can see vue tag in project's description, but couldn't get it working. Is Vuejs supported and if yes I would appreciate for a simple example.
Thanks
The text was updated successfully, but these errors were encountered: