mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
Merge pull request #13819 from phated/phated/vue3-addon-docs-fix
Addon-docs/Vue3: Resolve vue3 package for addon-docs preset
This commit is contained in:
commit
411f94f156
@ -1,7 +1,7 @@
|
||||
export function webpackFinal(webpackConfig: any = {}, options: any = {}) {
|
||||
webpackConfig.module.rules.push({
|
||||
test: /\.vue$/,
|
||||
loader: require.resolve('vue-docgen-loader', { paths: [require.resolve('@storybook/vue')] }),
|
||||
loader: require.resolve('vue-docgen-loader', { paths: [require.resolve('@storybook/vue3')] }),
|
||||
enforce: 'post',
|
||||
options: {
|
||||
docgenOptions: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user