main.ts 557 B

123456789101112131415
  1. // 配置阿里 图标
  2. import '@/assets/styles/index.less';
  3. import '@/assets/styles/symbol_color/iconfont.css';
  4. import '@/assets/styles/symbol_color/iconfont.js';
  5. import '@/assets/styles/symbol_no_color/iconfont.css';
  6. import '@/assets/styles/symbol_no_color/iconfont.js';
  7. import Antd, { message } from 'ant-design-vue';
  8. import { createApp } from 'vue';
  9. import App from './App.vue';
  10. import router from './router';
  11. const app = createApp(App);
  12. app.use(router);
  13. app.use(Antd).mount('#app');
  14. // 配置全局属性
  15. app.config.globalProperties.$message = message;