Skip to content

Commit a90e393

Browse files
committed
modify init
1 parent 00d44e2 commit a90e393

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.storybook/main.ts

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

3-
const config: StorybookConfig = {
4-
stories: ['../components/**/*.mdx', '../components/**/*.stories.@(js|jsx|ts|tsx|mdx)'],
3+
const config = {
4+
stories: ['../app/**/*.stories.@(js|ts|mdx)'],
55
addons: ['@storybook/addon-a11y', '@storybook/addon-docs'],
66
framework: '@storybook-vue/nuxt',
7-
}
7+
} satisfies StorybookConfig
88
export default config

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33
"editor.formatOnSave": true,
44
"i18n-ally.keystyle": "nested",
55
"i18n-ally.localesPaths": ["./i18n/locales"],
6-
"typescript.tsdk": "node_modules/typescript/lib"
6+
"typescript.tsdk": "node_modules/typescript/lib",
7+
"explorer.fileNesting.enabled": true,
8+
"explorer.fileNesting.patterns": {
9+
"*.vue": "${capture}.stories.ts"
10+
}
711
}

0 commit comments

Comments
 (0)