Skip to content

Commit a06f149

Browse files
author
the1900
authored
fix: nativescript-vue-devtools can't detect vuex
According to nativescript-vue/nativescript-vue-devtools#2 import `vuex` statement should be under `nativescript-vue-devtools` and It is true. I tested in my own.
1 parent 7870b87 commit a06f149

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/app/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Vue from 'nativescript-vue';
22
import App from './components/App.vue';
3-
{{#store}}import store from './store';{{/store}}
43

54
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools';
65

@@ -9,6 +8,8 @@ if(TNS_ENV !== 'production') {
98
}
109
{{/devtools}}
1110

11+
{{#store}}import store from './store';{{/store}}
12+
1213
// Prints Vue logs when --env.production is *NOT* set while building
1314
Vue.config.silent = (TNS_ENV === 'production');
1415

0 commit comments

Comments
 (0)