From ccd93b09b133e352e9a549cd80cabeb0bd5ae90c Mon Sep 17 00:00:00 2001 From: Micha Cross Date: Mon, 7 Sep 2020 11:56:25 +0200 Subject: [PATCH] Including the isVue3 render option in generator to allow plugin to be compatible with later versions of the vue cli --- generator/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/index.js b/generator/index.js index 9948d31..85ada51 100644 --- a/generator/index.js +++ b/generator/index.js @@ -45,7 +45,8 @@ module.exports = async (api, options, rootOptions) => { historyMode: options.historyMode, doesCompile: api.hasPlugin('babel') || api.hasPlugin('typescript') ? true : false, usingBabel: api.hasPlugin('babel') ? true : false, - usingTS: api.hasPlugin('typescript') ? true : false + usingTS: api.hasPlugin('typescript') ? true : false, + isVue3: options.vueVersion === '3' }; console.log('adding to package.json');