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'); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy