Files
moeka-project/packages/stage-ui/histoire.config.ts
T
2025-04-26 16:03:38 +08:00

68 lines
1.1 KiB
TypeScript

import { HstVue } from '@histoire/plugin-vue'
import { defaultColors, defineConfig } from 'histoire'
export default defineConfig({
routerMode: 'hash',
theme: {
title: 'AIRI UI',
logo: {
dark: './public/logo.svg',
light: './public/logo.svg',
},
colors: {
primary: defaultColors.neutral,
},
},
plugins: [
HstVue(),
],
vite: {
base: '/ui/',
},
setupFile: 'stories/setup.ts',
tree: {
groups: [
{
id: 'design-system',
title: 'Design System',
},
{
id: 'common',
title: 'Common',
},
{
id: 'form',
title: 'Form',
},
{
id: 'menu',
title: 'Menu',
},
{
id: 'providers',
title: 'Providers',
},
{
id: 'misc',
title: 'Misc',
},
{
id: 'physics',
title: 'Physics',
},
{
id: 'graphics',
title: 'Graphics',
},
{
id: 'gadgets',
title: 'Gadgets',
},
{
id: 'data-gui',
title: 'Data GUI',
},
],
},
})