Content-Length: 973 | pFad | http://github.com/nativescript-vue/vue-cli-plugin-nativescript-vue/pull/53.patch

thub.com 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');








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/nativescript-vue/vue-cli-plugin-nativescript-vue/pull/53.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy