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

Commit c825296

Browse files
the1900rigor789
the1900
authored andcommitted
fix: nativescript-vue-devtools can't detect vuex (#133)
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 d43a5ba commit c825296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/app/main.ts

+2-1
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)