12345678910111213141516171819202122232425262728293031 |
- import Vue from 'vue'
- import App from './App'
- import store from './store' // 引入 vuex
- import common from './utiils/common.js'
- import uView from "uview-ui";
- Vue.use(uView);
- Vue.prototype.$noMultipleClicks = common.noMultipleClicks;
- // 听云配置
- const monitor = require('./tingyun-mp-agent.js');
- monitor.config({
- beacon: 'https://beacon-mp.tingyun.com',
- key: '3eAqVFltDOs',
- id: 'sa9cwEuaPL4',
- sampleRate: 1
- })
- Vue.config.productionTip = false
- App.mpType = 'app'
- //将一些常用的方法定义在过滤器上
- import * as filters from './utiils/filters.js'
- Object.keys(filters).forEach(e => {
- Vue.filter(e, filters[e])
- });
- const app = new Vue({
- ...App,
- store
- })
- app.$mount()
|