Skip to content
Snippets Groups Projects
Unverified Commit 5667f0f8 authored by Acid Chicken (硫酸鶏)'s avatar Acid Chicken (硫酸鶏)
Browse files

build(#10336): subcomponents on sidebar

parent d300f4a8
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,11 @@ function toStories(component: string): string {
const base = basename(component);
const dir = dirname(component);
const literal = (
<literal value={component.slice('src/'.length, -'.vue'.length)} />
<literal
value={component
.slice('src/'.length, -'.vue'.length)
.replace(/\./g, '/')}
/>
) as estree.Literal;
const identifier = (
<identifier
......
......@@ -3,7 +3,7 @@
import { Meta, StoryObj } from '@storybook/vue3';
import MkPageHeader_tabs from './MkPageHeader.tabs.vue';
const meta = {
title: 'components/global/MkPageHeader.tabs',
title: 'components/global/MkPageHeader/tabs',
component: MkPageHeader_tabs,
} satisfies Meta<typeof MkPageHeader_tabs>;
export const Default = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment