element-plus/docs/.vitepress/utils/paths.ts

6 lines
179 B
TypeScript
Raw Normal View History

import path from 'path'
export const vpRoot = path.resolve(__dirname, '..')
export const docRoot = path.resolve(vpRoot, '..')
export const projRoot = path.resolve(docRoot, '..')