移除 css 的引入

This commit is contained in:
shizhong 2023-06-13 12:51:11 +08:00
parent c7172e9295
commit 5466e93d3a
2 changed files with 0 additions and 15 deletions

View File

@ -40,8 +40,6 @@ import App from './App.vue'
import './permission' import './permission'
import { isDevMode } from '@/utils/env'
import { MyPD } from '@/components/bpmnProcessDesigner/package/index.js' import { MyPD } from '@/components/bpmnProcessDesigner/package/index.js'
import '@/components/bpmnProcessDesigner/package/theme/index.scss' import '@/components/bpmnProcessDesigner/package/theme/index.scss'
import 'bpmn-js/dist/assets/diagram-js.css' import 'bpmn-js/dist/assets/diagram-js.css'
@ -54,11 +52,6 @@ import 'highlight.js/styles/github.css' //导入代码高亮样式 新版
import Logger from '@/utils/Logger' import Logger from '@/utils/Logger'
// 本地开发模式 全局引入 element-plus 样式,加快第一次进入速度
if (isDevMode()) {
import('element-plus/dist/index.css')
}
// 创建实例 // 创建实例
const setupAll = async () => { const setupAll = async () => {
const app = createApp(App) const app = createApp(App)

View File

@ -1,8 +0,0 @@
export const isDevMode = () => {
const dev = import.meta.env.VITE_DEV
if (dev && dev === 'true') {
return true
} else {
return false
}
}