mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 16:25:13 +00:00
build(#10336): subcomponents on sidebar
This commit is contained in:
parent
d300f4a87b
commit
5667f0f839
2 changed files with 6 additions and 2 deletions
|
@ -107,7 +107,11 @@ function toStories(component: string): string {
|
||||||
const base = basename(component);
|
const base = basename(component);
|
||||||
const dir = dirname(component);
|
const dir = dirname(component);
|
||||||
const literal = (
|
const literal = (
|
||||||
<literal value={component.slice('src/'.length, -'.vue'.length)} />
|
<literal
|
||||||
|
value={component
|
||||||
|
.slice('src/'.length, -'.vue'.length)
|
||||||
|
.replace(/\./g, '/')}
|
||||||
|
/>
|
||||||
) as estree.Literal;
|
) as estree.Literal;
|
||||||
const identifier = (
|
const identifier = (
|
||||||
<identifier
|
<identifier
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import { Meta, StoryObj } from '@storybook/vue3';
|
import { Meta, StoryObj } from '@storybook/vue3';
|
||||||
import MkPageHeader_tabs from './MkPageHeader.tabs.vue';
|
import MkPageHeader_tabs from './MkPageHeader.tabs.vue';
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'components/global/MkPageHeader.tabs',
|
title: 'components/global/MkPageHeader/tabs',
|
||||||
component: MkPageHeader_tabs,
|
component: MkPageHeader_tabs,
|
||||||
} satisfies Meta<typeof MkPageHeader_tabs>;
|
} satisfies Meta<typeof MkPageHeader_tabs>;
|
||||||
export const Default = {
|
export const Default = {
|
||||||
|
|
Loading…
Reference in a new issue