Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 247160d

Browse files
kaangurunetlesh
andauthored
chore: bump versions and add debug mode by default (#145)
* nativescript-vue version update and colored logs * enabled option of colored logs and added ts-ignore Co-authored-by: netlesh <[email protected]>
1 parent d19c4d8 commit 247160d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

template/app/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ if(TNS_ENV !== 'production') {
1212

1313
// Prints Vue logs when --env.production is *NOT* set while building
1414
Vue.config.silent = (TNS_ENV === 'production')
15+
// Prints Colored logs when --env.production is *NOT* set while building
16+
Vue.config.debug = (TNS_ENV !== 'production')
1517

1618
{{#if_eq preset "SideDrawer"}}
1719
Vue.registerElement(

template/app/main.ts

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ if(TNS_ENV !== 'production') {
1212

1313
// Prints Vue logs when --env.production is *NOT* set while building
1414
Vue.config.silent = (TNS_ENV === 'production')
15+
// Prints Colored logs when --env.production is *NOT* set while building
16+
// @ts-ignore
17+
Vue.config.debug = (TNS_ENV !== 'production')
1518

1619
{{#if_eq preset "SideDrawer"}}
1720
Vue.registerElement(

template/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"nativescript-toasty": "^1.3.0",{{/devtools}}{{#if_eq preset "SideDrawer"}}
2323
"nativescript-ui-sidedrawer": "^7.0.0",{{/if_eq}}{{#unless_eq color_scheme "none"}}
2424
"@nativescript/theme": "^2.2.1",{{/unless_eq}}
25-
"nativescript-vue": "^2.4.0",
25+
"nativescript-vue": "^2.5.0",
2626
"tns-core-modules": "^6.0.0"
2727
},
2828
"devDependencies": {
2929
"@babel/core": "^7.0.0",
3030
"@babel/preset-env": "^7.0.0",
3131
"babel-loader": "^8.0.2",
3232
"nativescript-dev-webpack": "^1.0.0",
33-
"nativescript-vue-template-compiler": "^2.0.0",
33+
"nativescript-vue-template-compiler": "^2.5.0",
3434
"nativescript-worker-loader": "~0.9.0",
3535
"node-sass": "^4.9.2",{{#if_eq lang "typescript"}}
3636
"tns-platform-declarations": "^6.0.0",

0 commit comments

Comments
 (0)