Skip to content

Commit

Permalink
Merge pull request #14018 from phated/phated/vue2-init-install-vue-lo…
Browse files Browse the repository at this point in the history
…ader

CLI/Vue 2: install vue-loader upon init of vue 2 storybook
  • Loading branch information
shilman authored Feb 24, 2021
2 parents dd7da20 + 1ab06f2 commit 5a913e4
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 5a913e4

Please sign in to comment.