17 lines
383 B
TypeScript
17 lines
383 B
TypeScript
import {createApp} from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router';
|
|
import ElementPlus from 'element-plus';
|
|
import 'element-plus/dist/index.css';
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn';
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
const app = createApp(App)
|
|
|
|
app.provide('axios', axios);
|
|
app.use(ElementPlus, { locale: zhCn });
|
|
app.use (router)
|
|
app.mount('#app')
|