1234567891011121314151617181920212223242526272829 |
- import { createApp } from 'vue';
- import App from './App.vue';
- import dayjs from 'dayjs';
- import 'dayjs/locale/zh-cn';
- import router from '../router/index-teacher';
- import 'normalize.css';
- import '../styles/index.less';
- const app = createApp(App);
- // 将selects全局混入当前vue实例中
- // import activeButtonIcon from '@/common/images/icon_check.png';
- // import inactiveButtonIcon from '@/common/images/icon_default.png';
- // app.mixin({
- // data() {
- // return {
- // activeButtonIcon: activeButtonIcon,
- // inactiveButtonIcon: inactiveButtonIcon,
- // };
- // }
- // });
- dayjs.locale('zh-ch');
- app.config.globalProperties.$dayjs = dayjs;
- app.use(router);
- app.mount('#app');
|