mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
Merge pull request #14018 from phated/phated/vue2-init-install-vue-loader
CLI/Vue 2: install vue-loader upon init of vue 2 storybook
This commit is contained in:
commit
5a913e4c69
@ -1,7 +1,9 @@
|
||||
import { baseGenerator, Generator } from '../baseGenerator';
|
||||
|
||||
const generator: Generator = async (packageManager, npmOptions, options) => {
|
||||
baseGenerator(packageManager, npmOptions, options, 'vue');
|
||||
baseGenerator(packageManager, npmOptions, options, 'vue', {
|
||||
extraPackages: ['vue-loader@^15.7.0'],
|
||||
});
|
||||
};
|
||||
|
||||
export default generator;
|
||||
|
Loading…
x
Reference in New Issue
Block a user