blob: 134cd68987a869f752539971498a76b9e93b903a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { storiesOf } from '@storybook/vue'
import { postLink } from './PostLink.stories'
import PurePostList from './PurePostList'
export const posts = Array(5).fill(postLink)
console.log(posts)
storiesOf('PurePostList', module).add('default', () => {
return {
components: { PurePostList },
template: `<pure-post-list :posts="posts"/>`,
data: () => ({ posts })
}
})
|