mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
17 lines
331 B
JavaScript
17 lines
331 B
JavaScript
|
import ElementPlus from 'element-plus'
|
||
|
|
||
|
import VPApp, { globals, NotFound } from '../vitepress'
|
||
|
|
||
|
export default {
|
||
|
NotFound,
|
||
|
Layout: VPApp,
|
||
|
logo: '/images/element-plus-logo-small.svg',
|
||
|
enhanceApp: ({ app }) => {
|
||
|
app.use(ElementPlus)
|
||
|
|
||
|
globals.forEach(([name, Comp]) => {
|
||
|
app.component(name, Comp)
|
||
|
})
|
||
|
},
|
||
|
}
|