Skip to content

Commit

Permalink
feat: install vue-loader upon init of vue 2 storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Feb 22, 2021
1 parent 6a8f302 commit 1ab06f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli/src/generators/VUE/index.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 1ab06f2

Please sign in to comment.