Skip to content

Commit 9649aa6

Browse files
committed
fix: sidebar order
1 parent ca4206b commit 9649aa6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.storybook/main.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
import type { StorybookConfig } from '@storybook-vue/nuxt'
22

33
const config = {
4-
stories: ['../.storybook/docs/*.mdx', '../app/**/*.@(mdx|stories.@(js|ts))'],
4+
stories: [
5+
// List welcome first in sidebar
6+
'../.storybook/docs/welcome.mdx',
7+
'../.storybook/docs/*.mdx',
8+
'../app/**/*.@(mdx|stories.@(js|ts))',
9+
],
510
addons: [
611
'@storybook/addon-a11y',
712
'@storybook/addon-docs',

0 commit comments

Comments
 (0)