zhuangpeimespda/main.js

26 lines
499 B
JavaScript
Raw Permalink Normal View History

2024-09-14 17:14:33 +08:00
import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
2024-09-18 17:39:34 +08:00
// dayjs
import dayjs from 'dayjs'
// 插件安装
import scanInputVue from './components/scan-input/scan-input.vue'
Vue.component('ScanInput', scanInputVue)
2024-09-14 17:14:33 +08:00
Vue.use(plugins)
Vue.config.productionTip = false
Vue.prototype.$store = store
2024-09-18 17:39:34 +08:00
Vue.prototype.$dayjs = dayjs
2024-09-14 17:14:33 +08:00
App.mpType = 'app'
const app = new Vue({
2024-09-18 17:39:34 +08:00
...App
2024-09-14 17:14:33 +08:00
})
2024-09-18 17:39:34 +08:00
app.$mount()