web.src.main.ts Maven / Gradle / Ivy
import Vue from 'vue'
import '@babel/polyfill'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import MUI from "m-ui-crud"
import '@/assets/styles/index.scss';
// 分页组件
import Pagination from "@/components/Pagination/index.vue"
// 图片上传
import PictureUpload from "@/mui/components/PictureUpload";
// 富文本
import WangEditor from "@/mui/components/WangEditor";
// 附件上传
import FileUpload from "@/mui/components/FileUpload"
// @ts-ignore
import filter from "./mixins/filters"
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(MUI)
Vue.component('Pagination', Pagination)
Vue.component('PictureUpload', PictureUpload)
Vue.component('WangEditor', WangEditor)
Vue.component("FileUpload", FileUpload)
Vue.mixin(filter)
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')