mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 15:58:19 +08:00
6 lines
189 B
TypeScript
6 lines
189 B
TypeScript
import path from 'path-browserify'
|
|
|
|
export function resolveRoutePath(basePath: string, routePath?: string) {
|
|
return basePath ? path.resolve(basePath, routePath ?? '') : routePath ?? ''
|
|
}
|