27 lines
756 B
JavaScript
27 lines
756 B
JavaScript
import Vue from 'vue'
|
|
import MescrollVue from 'mescroll.js/mescroll.vue';
|
|
import globalMixin from './mixins';
|
|
import App from './App.vue'
|
|
import delay from 'delay'
|
|
import router from './router';
|
|
import '@/assets/js/flexable.js';
|
|
import './common/vant';
|
|
import './components/index'
|
|
// swiper 样式全局引入, 组件页面引入。 Ref: https://www.jianshu.com/p/03f9fa94c474
|
|
import 'swiper/css/swiper.css';
|
|
import config from './config';
|
|
import utils from './util';
|
|
|
|
Vue.prototype.$bus = new Vue();
|
|
Vue.mixin(globalMixin)
|
|
Vue.config.productionTip = false
|
|
Vue.prototype.$delay = delay;
|
|
Vue.prototype.$config = config;
|
|
Vue.prototype.$utils = utils;
|
|
Vue.component('mescroll-vue', MescrollVue)
|
|
|
|
new Vue({
|
|
render: h => h(App),
|
|
router,
|
|
}).$mount('#app')
|