本地告警页面V0
This commit is contained in:
16
src/main.ts
Normal file
16
src/main.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user