import { nStoriesOf, // action, // boolean, // text, // color, // array, object } from './storybase.js' import Logo from '~/components/Logo.vue' // nStoriesOf({ Logo }, "Logo 1") // .addDecorator(story => ( //
// {story()} //
// )) // .add("with some data", () => ({ // components: { Logo }, // template: ` // ` // })) nStoriesOf({ Logo }, 'Logo ') .add('with some data', () => ({ components: { Logo }, template: ` ` })) .addVT('with App layout', '') .addVT('with a knob', () => { const data = JSON.stringify( object('Data', { name: 'Apple', count: 132 }) ) return `` })