yh-uniapp/main.js

23 lines
432 B
JavaScript
Raw Normal View History

2024-12-06 14:01:20 +08:00
import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import uView from '@/uni_modules/uview-ui'
// 过滤器
import filter from "@/utils/filter";
filter(Vue);
Vue.use(uView)
Vue.use(plugins)
Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()