|
@ -4,6 +4,7 @@ import router from './router' |
|
|
import store from '@/store' |
|
|
import store from '@/store' |
|
|
import regComponents from '@/components' |
|
|
import regComponents from '@/components' |
|
|
import {defineObj} from 'black-knight/lib/config/custom' |
|
|
import {defineObj} from 'black-knight/lib/config/custom' |
|
|
|
|
|
import {provise} from 'black-knight/lib/config/tools' |
|
|
import ElementPlus from 'element-plus' |
|
|
import ElementPlus from 'element-plus' |
|
|
import "element-plus/dist/index.css" |
|
|
import "element-plus/dist/index.css" |
|
|
console.log(import.meta.env,'--------------import------') |
|
|
console.log(import.meta.env,'--------------import------') |
|
@ -15,6 +16,7 @@ app.use(router) |
|
|
.use(store) |
|
|
.use(store) |
|
|
.use(regComponents) |
|
|
.use(regComponents) |
|
|
.use(ElementPlus) |
|
|
.use(ElementPlus) |
|
|
|
|
|
.provide('event',new provise()) |
|
|
.mount('#app') |
|
|
.mount('#app') |
|
|
|
|
|
|
|
|
app.config.globalProperties.foo='===foo====' // 全局配置属性
|
|
|
app.config.globalProperties.foo='===foo====' // 全局配置属性
|