引入vuex
parent
f7ef0675c8
commit
5de5bdfb26
@ -1,12 +1,14 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue';
|
||||||
import App from './App'
|
import App from './App';
|
||||||
import './uni.promisify.adaptor'
|
import './uni.promisify.adaptor';
|
||||||
|
import store from './store';
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false;
|
||||||
|
|
||||||
App.mpType = 'app'
|
App.mpType = 'app';
|
||||||
|
|
||||||
const app = new Vue({
|
const app = new Vue({
|
||||||
...App
|
store, //引入vuex
|
||||||
})
|
...App,
|
||||||
app.$mount()
|
});
|
||||||
|
app.$mount();
|
||||||
|
Loading…
Reference in New Issue