21 lines
499 B
JavaScript
Raw Normal View History

2020-06-24 13:54:15 +08:00
import Vue from "vue";
2020-07-12 20:46:13 +08:00
import { Button, FormModel, Input, Icon, message, Checkbox } 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);
Vue.prototype.$message = message;
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");