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');