mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 09:31:47 +08:00
18 lines
260 B
Plaintext
18 lines
260 B
Plaintext
```js
|
|
// List.stories.js
|
|
|
|
import List from './ListComponent.vue';
|
|
|
|
export default {
|
|
component: List,
|
|
};
|
|
|
|
// Always an empty list, not super interesting
|
|
export const Empty = {
|
|
render: () => ({
|
|
components: { List },
|
|
template: '<List/>',
|
|
}),
|
|
};
|
|
```
|