From 1ab06f2ca2a067bbc82016c663ac39e5bc314434 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Mon, 22 Feb 2021 16:34:52 -0700 Subject: [PATCH] feat: install vue-loader upon init of vue 2 storybook --- lib/cli/src/generators/VUE/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cli/src/generators/VUE/index.ts b/lib/cli/src/generators/VUE/index.ts index 6bdc4a274dd7..c7a2549b8128 100644 --- a/lib/cli/src/generators/VUE/index.ts +++ b/lib/cli/src/generators/VUE/index.ts @@ -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;