| | |
| | | import Vue from "vue"; |
| | | import ElementUI from "element-ui"; |
| | | import "element-ui/lib/theme-chalk/index.css"; |
| | | import {Calendar} from 'ant-design-vue'; |
| | | import {Calendar,ConfigProvider } from 'ant-design-vue'; |
| | | import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'; |
| | | import 'ant-design-vue/dist/antd.css'; |
| | | // import Antd from 'ant-design-vue'; |
| | | // import 'ant-design-vue/dist/antd.css'; |
| | | // import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'; |
| | | import '@/assets/font/font.css' |
| | | import App from "./App.vue"; |
| | | import router from "./router"; |
| | |
| | | import './assets/tailwind.css' |
| | | import './styles/element-variables.less' |
| | | |
| | | import dayjs from "../node_modules/dayjs/dayjs.min.js"; |
| | | import "dayjs/locale/zh-cn"; |
| | | |
| | | dayjs.locale("zh-cn"); |
| | | |
| | | |
| | | |
| | | Vue.config.productionTip = false; |
| | | Vue.use(ElementUI, { size: 'small' }) |
| | | Vue.use('Calendar',Calendar) |
| | | Vue.use(ConfigProvider) |
| | | // Vue.use(Antd) |
| | | Vue.component('Table', Table) |
| | | Vue.component('TableCustom', TableCustom) |
| | | Vue.component('Card', Card) |
| | |
| | | new Vue({ |
| | | router, |
| | | store, |
| | | render: (h) => h(App), |
| | | render: (h) => ( |
| | | <a-config-provider locale={zhCN}> |
| | | <App /> |
| | | </a-config-provider> |
| | | ), |
| | | }).$mount("#app"); |