🧹 清理重复配置文件
- 删除根目录中重复的 NestJS 配置文件 - 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc - 保留 wwjcloud-nest/ 目录中的完整配置 - 避免配置冲突,确保项目结构清晰
This commit is contained in:
30
admin-vben/src/main.ts
Normal file
30
admin-vben/src/main.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import roter from './router'
|
||||
import ElementPlus from 'element-plus'
|
||||
import pinia from './stores'
|
||||
import lang from './lang'
|
||||
import directives from './utils/directives'
|
||||
import '@/styles/index.scss'
|
||||
import { useElementIcon } from './utils/common'
|
||||
import 'highlight.js/styles/stackoverflow-light.css';
|
||||
import hljs from 'highlight.js/lib/common'
|
||||
import hljsVuePlugin from '@highlightjs/vue-plugin'
|
||||
import VueUeditorWrap from 'vue-ueditor-wrap'
|
||||
|
||||
window.hl = hljs
|
||||
|
||||
async function run() {
|
||||
const app = createApp(App)
|
||||
app.use(pinia)
|
||||
app.use(lang)
|
||||
app.use(roter)
|
||||
app.use(directives)
|
||||
app.use(ElementPlus)
|
||||
app.use(hljsVuePlugin)
|
||||
app.use(VueUeditorWrap)
|
||||
useElementIcon(app)
|
||||
app.mount('#app')
|
||||
}
|
||||
|
||||
run()
|
||||
Reference in New Issue
Block a user