storybook/docs/snippets/common/storybook-preview-with-ordered-pages.js.mdx
2020-11-19 23:02:31 +08:00

12 lines
184 B
Plaintext

```js
// .storybook/preview.js
export const parameters = {
options: {
storySort: {
order: ['Intro', 'Pages', ['Home', 'Login', 'Admin'], 'Components'],
},
},
};
```