mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
FIX multiple version react in vue app
This commit is contained in:
parent
d806c3f73f
commit
cafa395e57
@ -53,6 +53,8 @@ export default function() {
|
|||||||
modules: ['node_modules'].concat(nodePaths),
|
modules: ['node_modules'].concat(nodePaths),
|
||||||
alias: {
|
alias: {
|
||||||
'vue$': require.resolve('vue/dist/vue.esm.js'),
|
'vue$': require.resolve('vue/dist/vue.esm.js'),
|
||||||
|
react: require.resolve('react'),
|
||||||
|
'react-dom': require.resolve('react-dom'),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
performance: {
|
performance: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user