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.

31 lines
675 B

import Vue from 'vue';
import App from './App';
4 years ago
import uView from 'uview-ui';
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 });
4 years ago
// indexedDB
import indexedDB from '@/utils/indexedDB';
Vue.use(indexedDB);
//#endif
Vue.config.productionTip = false;
4 years ago
Vue.use(uView);
App.mpType = 'app';
const app = new Vue({ ...App, store });
import request from '@/utils/request.js';
import user from '@/apis/user.js';
Vue.use(request, app);
Vue.use(user, app);
app.$mount();