Storybook: Add Vue play example like storybook-addon-jsx

Created on 28 Sep 2017  路  8Comments  路  Source: storybookjs/storybook

Based on the activity I'd say storybook is a better long-term solution than vue-play, but without example source storybook does not fulfil the basic needs. Is anyone working on this?

vue feature request

Most helpful comment

You can check it at here

All 8 comments

Have you seen this:
https://github.com/storybooks/storybook/tree/release/3.3/examples/vue-kitchen-sink

Or this:
https://github.com/ndelangen/storybook-vue-example

Or are you looking for an example using JSX? I haven't seen it yet!

I'm working with Vue and noted that the JSX storybook plugin shows the markup/jsx required to create the story.

vue-play also has this feature.

However, unless my freshly installed/tested version of Storybook is broken, I do not see the markup/vue required to create the story.

~Unfortunately, we can not support JSX for Vue Components, due to Storybook is based on React architecture. 馃槥~
~when we use babel-preset-vue in Storybook, occure conflicting.~

sorry, never mind.
We can support JSX syntax for Storybook of Vue.

Can you show Vue syntax?

You can check it at here

close (merged #1993)

Awesome @kazupon !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shilman picture shilman  路  3Comments

purplecones picture purplecones  路  3Comments

sakulstra picture sakulstra  路  3Comments

ZigGreen picture ZigGreen  路  3Comments

wahengchang picture wahengchang  路  3Comments