refactor(docs): simplify imports (#9724)

This commit is contained in:
jack-pearson 2022-09-10 22:34:15 +08:00 committed by GitHub
parent c64ea617ef
commit 3f718973c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -2,11 +2,7 @@ import consola from 'consola'
import { REPO_BRANCH, REPO_PATH } from '@element-plus/build-constants'
import { docsDirName } from '@element-plus/build-utils'
import { languages } from './utils/lang'
import { head } from './config/head'
import { sidebars } from './config/sidebars'
import { nav } from './config/nav'
import { mdPlugin } from './config/plugins'
import { features } from './config/features'
import { features, head, mdPlugin, nav, sidebars } from './config'
import type { UserConfig } from 'vitepress'
const buildTransformers = () => {

View File

@ -0,0 +1,7 @@
export * from './analytics'
export * from './features'
export * from './head'
export * from './nav'
export * from './plugins'
export * from './sidebars'
export * from './sponsors'