Compare commits
2 Commits
6ff1fd1470
...
6faca04c8f
Author | SHA1 | Date | |
---|---|---|---|
6faca04c8f | |||
49924d6bf8 |
18
.storybook/main.ts
Normal file
18
.storybook/main.ts
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import type { StorybookConfig } from '@storybook/vue3-vite'
|
||||||
|
|
||||||
|
const config: StorybookConfig = {
|
||||||
|
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
||||||
|
addons: [
|
||||||
|
'@storybook/addon-links',
|
||||||
|
'@storybook/addon-essentials',
|
||||||
|
'@storybook/addon-interactions'
|
||||||
|
],
|
||||||
|
framework: {
|
||||||
|
name: '@storybook/vue3-vite',
|
||||||
|
options: {}
|
||||||
|
},
|
||||||
|
docs: {
|
||||||
|
autodocs: 'tag'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default config
|
15
.storybook/preview.ts
Normal file
15
.storybook/preview.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import type { Preview } from '@storybook/vue3'
|
||||||
|
|
||||||
|
const preview: Preview = {
|
||||||
|
parameters: {
|
||||||
|
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||||
|
controls: {
|
||||||
|
matchers: {
|
||||||
|
color: /(background|color)$/i,
|
||||||
|
date: /Date$/
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default preview
|
@ -1 +1 @@
|
|||||||
{"generatedAt":1697008559798,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.8.0"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","storybookVersion":"7.4.6","storybookVersionSpecifier":"^7.4.6","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.4.6"},"@storybook/testing-library":{"version":"0.2.2"},"@storybook/vue3":{"version":"7.4.6"},"@storybook/vue3-vite":{"version":"7.4.6"},"storybook":{"version":"7.4.6"}},"addons":{"@storybook/addon-links":{"version":"7.4.6"},"@storybook/addon-essentials":{"version":"7.4.6"},"@storybook/addon-interactions":{"version":"7.4.6"}}}
|
{"generatedAt":1697009357959,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.8.0"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","storybookVersion":"7.4.6","storybookVersionSpecifier":"^7.4.6","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.4.6"},"@storybook/testing-library":{"version":"0.2.2"},"@storybook/vue3":{"version":"7.4.6"},"@storybook/vue3-vite":{"version":"7.4.6"},"storybook":{"version":"7.4.6"}},"addons":{"@storybook/addon-links":{"version":"7.4.6"},"@storybook/addon-essentials":{"version":"7.4.6"},"@storybook/addon-interactions":{"version":"7.4.6"}}}
|
||||||
|
Loading…
Reference in New Issue
Block a user