feat:初始化工程
This commit is contained in:
17
src/main.ts
Normal file
17
src/main.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { createApp } from 'vue'
|
||||
import './style.css'
|
||||
import App from './App.vue'
|
||||
|
||||
// 引入element-ui组件
|
||||
import ElementPlus from 'element-plus'
|
||||
import 'element-plus/theme-chalk/src/index.scss'
|
||||
import 'element-plus/theme-chalk/dark/css-vars.css'
|
||||
import 'dayjs/locale/zh-cn'
|
||||
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
|
||||
import 'font-awesome/css/font-awesome.min.css'
|
||||
import '@fortawesome/fontawesome-free/css/all.css'
|
||||
|
||||
const app = createApp(App)
|
||||
app.use(ElementPlus, { locale: zhCn })
|
||||
app.mount('#app')
|
||||
Reference in New Issue
Block a user