Releases: mattrothenberg/vue-storybook
Releases · mattrothenberg/vue-storybook
Group stories
Expose group
attribute for grouping stories.
Auto(magic) Story Registration
As per #3, stories are now automatically registered by the very presence of tags in a given component.
This is a breaking change.
import { registerStories } from 'vue-storybook'
import { configure } from '@storybook/vue';
const req = require.context('./', true, /\.vue$/)
function loadStories() {
req.keys().forEach((filename) => {
registerStories(req, filename, storiesOf, {})
})
}
loadStories()