fe-core-cli
Version:
All-in-one scaffolding, cli integrated with Vue3 ecological chain, cli of H5 page, mock template cli of Node
29 lines (19 loc) • 902 B
text/typescript
import path from 'path'
// 项目的根目录
export const ROOT_PATH = path.resolve(__dirname, '../../')
// 组件库的根路径
export const COMPONENTS_ROOT_PATH = path.resolve(__dirname, '../../packages/components')
// 工具库的根路径
export const UTILS_ROOT_PATH = path.resolve(__dirname, '../../packages/utils')
// 主题样式库的根路径
export const THEME_CHALK_ROOT_PATH = path.resolve(__dirname, '../../packages/theme-chalk')
// 模块的根路径
export const PACKAGE_ROOT_PATH = path.resolve(__dirname, '../../packages')
// 文档根路径
export const DOC_ROOT_PATH = path.resolve(__dirname, '../../docs')
// 打包模块
export const BUILD_ROOT_PATH = path.resolve(__dirname, '../../build')
// cli 模块
export const CLI_ROOT_PATH = path.resolve(__dirname, '../../cli')
// example 示例 模块
export const EXAMPLE_ROOT_PATH = path.resolve(__dirname, '../../example')