Skip to content
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

addon-info: Add support for Vue #2812

Closed
DrSensor opened this issue Jan 23, 2018 · 29 comments
Closed

addon-info: Add support for Vue #2812

DrSensor opened this issue Jan 23, 2018 · 29 comments

Comments

@DrSensor
Copy link

DrSensor commented Jan 23, 2018

Issue details

This issue is feature request for adding support Vue component on @sotrybook/addon-info

Details

In authoring reusable Vue component, types of documentation that need to be added:

One example in this readme


Also, it would be nice if there is feature for choosing which component to be documented, something like

withInfo({ component: MyComponent })(() => /** story */)

Additional

Currently, I'm using storybook to showcase a Vue component in mvce style like in here.
Because it's more comfortable writing scenario/use-case in .vue SFC format, so I implement it via this way:

  1. register each scenario as story element-tag
  2. write scenarios in .vue SFC format
  3. register my reusable component on each scenario

In short:
src/stories/index.js <- src/stories/story/Scenario.vue <- src/components/MyComponent.vue

@philwolstenholme
Copy link

+1, this would be great

@stale stale bot added the inactive label Mar 11, 2018
@Ineigo
Copy link

Ineigo commented Mar 16, 2018

Not, closing!!!

@stale stale bot removed the inactive label Mar 16, 2018
@Hypnosphi
Copy link
Member

#1501 should probably be done before adding support for more frameworks

@danielduan
Copy link
Member

I would imagine info support for vue to be in a new addon instead of adding it to the existing info addon. There are some pretty significant differences between the two frameworks that I think it justifies splitting them.

@DrSensor
Copy link
Author

DrSensor commented Mar 23, 2018

Splitting the package into react, vue, angular can reduce the code complexity
import { withInfo } from '@storybook/addon-info/vue'
import { withInfo } from '@storybook/addon-info/react'
import { withInfo } from '@storybook/addon-info/angular'

@stale stale bot added the inactive label Apr 15, 2018
@Aaron-Pool
Copy link
Contributor

Not the author, but just wanted to say that this exists and seems to be being actively developed: https://github.com/pocka/storybook-addon-vue-info

@stale stale bot removed the inactive label May 10, 2018
@zhaozhe0831
Copy link

https://github.com/pocka/storybook-addon-vue-info this's useful, but not enough.

@MosheAtOwal
Copy link

👍 . storybook-addon-vue-info doesn't play nicely with non-component tags, nor decorators.

@stale stale bot added the inactive label Jun 19, 2018
@MosheAtOwal
Copy link

bump

@stale stale bot removed the inactive label Jun 20, 2018
@stale stale bot added the inactive label Jul 11, 2018
@stale stale bot closed this as completed Aug 10, 2018
@okinp
Copy link

okinp commented Dec 3, 2018

bump

@igor-dv
Copy link
Member

igor-dv commented Dec 3, 2018

Linking with #4770.
You can use https://github.com/pocka/storybook-addon-vue-info.
Update: Also it's mentioned in the comments above ☝️

@storybookjs storybookjs deleted a comment from stale bot Dec 3, 2018
@storybookjs storybookjs deleted a comment from stale bot Dec 3, 2018
@storybookjs storybookjs deleted a comment from stale bot Dec 3, 2018
@storybookjs storybookjs deleted a comment from stale bot Dec 3, 2018
@storybookjs storybookjs deleted a comment from stale bot Dec 3, 2018
@jlpospisil
Copy link

Any plans to add support for Vue?

@Vianney-VICTORIA
Copy link

Hi there ! any plans, release date to add support for Vue ?

@DrSensor
Copy link
Author

DrSensor commented Apr 16, 2019

Seems there is no work in progress for this feature (waiting for Vue v3?). I wonder how the vue storybook will differ from https://vueds.com 🤔

@Vianney-VICTORIA
Copy link

Thanks for the share @DrSensor, I will take a look !!

@shilman shilman removed the inactive label Apr 16, 2019
@shilman
Copy link
Member

shilman commented Apr 16, 2019

I have a working prototype for Vue and will be shipping this out in the 5.x cycle. For more information see the RFC and a short demo:

RFC: https://docs.google.com/document/d/1D4Ov4UvrB80Uy1CLGshbFEWQKWEpr8dL4FmOqRDwjwI/edit?usp=sharing
Demo: https://twitter.com/mshilman/status/1113532547764342784

@shilman shilman reopened this Apr 16, 2019
@elevatebart
Copy link
Contributor

@shilman, can't wait !!

@stale
Copy link

stale bot commented May 9, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label May 9, 2019
@DrSensor
Copy link
Author

DrSensor commented May 9, 2019

@probot waiting for v5.x

@stale stale bot removed the inactive label May 9, 2019
@stale
Copy link

stale bot commented May 31, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label May 31, 2019
@forforeach
Copy link

Is there anything going on actually? Aren't we in a 5.x yet?

@stale stale bot removed the inactive label May 31, 2019
@shilman
Copy link
Member

shilman commented May 31, 2019

@forforeach Vue is supported in the addon-docs technical preview including props, source, docgen info, notes, etc.

https://docs.google.com/document/d/1un6YX7xDKEKl5-MVb-egnOYN8dynb5Hf7mq0hipk8JE/edit?usp=sharing

image

@stale
Copy link

stale bot commented Jun 21, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Jun 21, 2019
@DrSensor
Copy link
Author

@probot waiting for the sneak peek

@stale stale bot removed the inactive label Jun 22, 2019
@shilman
Copy link
Member

shilman commented Jun 22, 2019

@DrSensor why wait, it's been available in alpha for over a month?

@DrSensor
Copy link
Author

Wait what..., yeah 💃 will take a 👀

@shilman
Copy link
Member

shilman commented Jun 23, 2019

@DrSensor Feel free to join in the conversation on #docs-mode in our discord https://discord.gg/UUt2PJb

@stale
Copy link

stale bot commented Jul 14, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Jul 14, 2019
@stale
Copy link

stale bot commented Aug 13, 2019

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

@stale stale bot closed this as completed Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests