You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vue-webtopo-svgeditor/src/main.js

15 lines
424 B
JavaScript

5 years ago
import { createApp } from 'vue'
import Antd from 'ant-design-vue';
import App from './App.vue'
import 'ant-design-vue/dist/antd.css';
import UCore from './util/UCore.js'
import './assets/css/index.css';
import router from './router';
import axios from 'axios';
const app = createApp(App);
app.use(router);
app.config.globalProperties.$UCore = UCore;
app.config.globalProperties.$axios = axios;
app.use(Antd).mount('#app');