forked from ccsens_fe/tall-mui-3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
46 lines
1.0 KiB
import Vue from 'vue';
|
|
import dayjs from 'dayjs';
|
|
import uView from 'uview-ui';
|
|
import Tall from '@/utils/tall';
|
|
import App from './App';
|
|
import './common/styles/index.css';
|
|
import store from './store';
|
|
|
|
//#ifdef H5
|
|
// import './registerServiceWorker';
|
|
import AlloyFinger from 'alloyfinger';
|
|
import AlloyFingerPlugin from 'alloyfinger/vue/alloy_finger_vue';
|
|
Vue.use(AlloyFingerPlugin, { AlloyFinger });
|
|
// indexedDB
|
|
import indexedDB from '@/utils/indexedDB';
|
|
Vue.use(indexedDB);
|
|
//#endif
|
|
|
|
Vue.config.productionTip = false;
|
|
Vue.prototype.$moment = dayjs;
|
|
Vue.use(uView);
|
|
Vue.use(Tall);
|
|
|
|
dayjs.locale('zh-cn');
|
|
|
|
App.mpType = 'app';
|
|
|
|
const app = new Vue({ ...App, store });
|
|
|
|
import request from '@/utils/request.js';
|
|
import user from '@/apis/user.js';
|
|
import project from '@/apis/project.js';
|
|
import task from '@/apis/task.js';
|
|
import plugin from '@/apis/plugin.js';
|
|
import role from '@/apis/role.js';
|
|
|
|
window.vm = app;
|
|
|
|
Vue.use(request, app);
|
|
Vue.use(user, app);
|
|
Vue.use(project, app);
|
|
Vue.use(task, app);
|
|
Vue.use(plugin, app);
|
|
Vue.use(role, app);
|
|
|
|
app.$mount();
|
|
|