element-plus/docs/.vitepress/utils/paths.ts
三咲智子 a5dd21e94a
docs(build): refactor config & support dev without pre build (#3743)
* docs: refactor config

* docs(build): support dev without pre build

* docs: disable sourcemap
2021-09-30 19:26:30 +08:00

6 lines
179 B
TypeScript

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