1234567891011121314151617181920212223 |
- import Vue from 'vue'
- import App from './App'
- import store from './store'
- import * as Db from './config/db.js';//缓存操作
- import * as Util from './config/util.js';//通用方法
- import { hex_md5 } from './config/md5.js';//加密
- import uView from "uview-ui";
- Vue.use(uView);
- Vue.config.productionTip = false
- Vue.prototype.$store = store;
- Vue.prototype.$db = Db;
- Vue.prototype.$util = Util;
- Vue.prototype.$md5 = hex_md5;
- Vue.prototype.$global = App.globalData;
- App.mpType = 'app'
- const app = new Vue({
- ...App,
- store
- })
- app.$mount()
|