2023-08-14 09:37:35 +08:00
|
|
|
import 'babel-polyfill'
|
|
|
|
|
import Vue from 'vue'
|
|
|
|
|
import App from './App'
|
|
|
|
|
import router from './router'
|
|
|
|
|
import store from './vuex/store'
|
|
|
|
|
import '@css/reset.css'
|
|
|
|
|
import '@css/layout.styl'
|
2023-08-25 13:33:31 +08:00
|
|
|
import '@css/layout2.styl'
|
2023-08-14 09:37:35 +08:00
|
|
|
// import '@js/rem.js'
|
|
|
|
|
import filter from '@js/filter.js'
|
|
|
|
|
import { Dialog, toast } from '@js/mUtils.js'
|
|
|
|
|
import {post} from '@js/http.js'
|
|
|
|
|
import * as echarts from 'echarts'
|
|
|
|
|
import VueParticles from 'vue-particles'
|
|
|
|
|
import scroll from 'vue-seamless-scroll'
|
2023-09-19 16:11:52 +08:00
|
|
|
import 'default-passive-events'
|
2023-08-14 09:37:35 +08:00
|
|
|
|
|
|
|
|
for (let k in filter) {
|
|
|
|
|
Vue.filter(k, filter[k])
|
|
|
|
|
}
|
|
|
|
|
Vue.prototype.$echarts = echarts
|
|
|
|
|
Vue.prototype.Dialog = Dialog
|
|
|
|
|
Vue.prototype.toast = toast
|
|
|
|
|
Vue.prototype.$post = post
|
|
|
|
|
Vue.use(VueParticles)
|
|
|
|
|
Vue.use(scroll)
|
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
/* eslint-disable no-new */
|
|
|
|
|
new Vue({
|
|
|
|
|
el: '#app',
|
|
|
|
|
router,
|
|
|
|
|
store,
|
|
|
|
|
components: { App },
|
|
|
|
|
template: '<App/>'
|
|
|
|
|
})
|