mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +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)
|
||
|
})
|
||
|
},
|
||
|
}
|