File tree Expand file tree Collapse file tree 3 files changed +563
-1471
lines changed Expand file tree Collapse file tree 3 files changed +563
-1471
lines changed Original file line number Diff line number Diff line change 1
1
import type { StorybookConfig } from '@storybook/web-components-vite' ;
2
- import { html } from 'lit' ;
3
2
import { join , dirname } from 'path' ;
4
3
5
4
/**
@@ -16,17 +15,24 @@ const config: StorybookConfig = {
16
15
'../packages/**/*.story.@(js|jsx|mjs|ts|tsx)' ,
17
16
'../stories/**/*.story.@(js|jsx|mjs|ts|tsx)' ,
18
17
] ,
18
+
19
19
staticDirs : [ './images' ] ,
20
+
20
21
addons : [
21
22
getAbsolutePath ( '@storybook/addon-links' ) ,
22
23
getAbsolutePath ( '@storybook/addon-essentials' ) ,
23
24
getAbsolutePath ( '@chromatic-com/storybook' ) ,
24
25
getAbsolutePath ( '@storybook/addon-a11y' ) ,
25
26
'../storyhelpers/storybook-readme' ,
26
27
] ,
28
+
27
29
framework : {
28
30
name : getAbsolutePath ( '@storybook/web-components-vite' ) ,
29
31
options : { } ,
30
32
} ,
33
+
34
+ docs : {
35
+ autodocs : true ,
36
+ } ,
31
37
} ;
32
38
export default config ;
You can’t perform that action at this time.
0 commit comments