2020-06-24 13:54:15 +08:00
|
|
|
import Vue from "vue";
|
2020-09-21 18:25:03 +08:00
|
|
|
import { Button, FormModel, Input, Icon, message, Checkbox, Dropdown, Menu, Tree, Tooltip, Spin, notification, Empty, Modal, Radio, Upload } from "ant-design-vue";
|
2020-06-24 13:54:15 +08:00
|
|
|
import App from "./App.vue";
|
|
|
|
import router from "./router";
|
|
|
|
import store from "./store";
|
|
|
|
|
2020-07-12 20:46:13 +08:00
|
|
|
Vue.component(Button.name, Button);
|
|
|
|
Vue.use(FormModel);
|
|
|
|
Vue.component(Input.name, Input);
|
|
|
|
Vue.component(Icon.name, Icon);
|
|
|
|
Vue.use(Checkbox);
|
2020-07-15 22:28:46 +08:00
|
|
|
Vue.use(Dropdown);
|
|
|
|
Vue.use(Menu);
|
2020-07-31 00:07:32 +08:00
|
|
|
Vue.use(Tree);
|
2020-08-25 21:44:19 +08:00
|
|
|
Vue.use(Tooltip);
|
|
|
|
Vue.use(Spin);
|
2020-09-21 18:25:03 +08:00
|
|
|
Vue.use(Empty);
|
|
|
|
Vue.use(Modal);
|
|
|
|
Vue.use(Radio);
|
|
|
|
Vue.use(Upload);
|
2020-07-12 20:46:13 +08:00
|
|
|
|
|
|
|
Vue.prototype.$message = message;
|
2020-09-21 18:25:03 +08:00
|
|
|
Vue.prototype.$notification = notification;
|
2020-06-24 13:54:15 +08:00
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
2020-07-12 20:46:13 +08:00
|
|
|
window.vueInstance = new Vue({
|
2020-06-24 13:54:15 +08:00
|
|
|
router,
|
|
|
|
store,
|
|
|
|
render: h => h(App)
|
|
|
|
}).$mount("#app");
|