import Vue from 'vue' import App from './App' import Container from "library/Container.js"; import Base from "library/Base.js"; import store from './store' //导航栏组件 import headers from './components/ui-header/index.vue' Vue.component('page-head',headers) //使用伪装容器 let $c = Container.getInstance(); let base = new Base(Vue,$c); Vue.prototype.$store = store; //stroe // #ifndef APP-PLUS store.commit("init",Vue.prototype); // #endif Vue.prototype.base = base; //设置为 false 以阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false; App.mpType = 'app'; const app = new Vue({ store, ...App }) app.$mount();