Skip to content

Commit 92c6420

Browse files
committed
fix: sidebar order
1 parent ca4206b commit 92c6420

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.storybook/docs/colors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Meta, ColorPalette, ColorItem } from '@storybook/addon-docs/blocks'
22
import { theme } from '../../uno.theme.ts'
33

4-
<Meta title="Colors" tags={['hide-toolbar']} />
4+
<Meta tags={['hide-toolbar']} />
55

66
# Colors
77

.storybook/docs/guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Meta } from '@storybook/addon-docs/blocks'
22

3-
<Meta title="Guidelines" tags={['hide-toolbar']} />
3+
<Meta tags={['hide-toolbar']} />
44

55
# Guidelines
66

.storybook/docs/typography.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Meta, Typeset } from '@storybook/addon-docs/blocks'
22
import { theme } from '../../uno.theme.ts'
33

4-
<Meta title="Typography" tags={['hide-toolbar']} />
4+
<Meta tags={['hide-toolbar']} />
55

66
export const wind4FontSizes = {
77
'xs': '0.75rem',

.storybook/docs/welcome.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Meta } from '@storybook/addon-docs/blocks';
22

3-
<Meta title="Welcome" tags={['hide-toolbar']}/>
3+
<Meta tags={['hide-toolbar']}/>
44

55
# Welcome
66

.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)