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.
 
 
 
 

40 lines
845 B

import 'core-js/stable'
import 'regenerator-runtime/runtime'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 全局引入按需引入UI库 vant
import '@/plugins/vant'
// 引入全局样式
import '@/assets/css/index.less'
// 移动端适配
import 'amfe-flexible'
// icon
import './assets/icons'
Vue.config.productionTip = false
// 日期格式化插件
import dayjs from 'dayjs'
Vue.prototype.$dayjs = dayjs
// 提示框封装
import { Tips } from '@/utils'
Vue.prototype.$tips = Tips
//开发环境使用,生产环境自动取消
import Vconsole from 'vconsole'
import Perfect from '@/components/Perfect'
Vue.component('Perfect', Perfect)
if (process.env.NODE_ENV !== 'production') {
new Vconsole()
}
new Vue({
el: '#app',
router,
store,
render: h => h(App)
})