mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-11-28 07:23:34 +08:00
Share workspace packages between Ray Admin and the interactive docs. BREAKING CHANGE: v6 is a new major line. v5 stays on legacy/v5.
17 lines
325 B
TypeScript
17 lines
325 B
TypeScript
import { validAppRootPath } from './valid/valid-app-root-path'
|
|
import { validLocal } from './valid/valid-local'
|
|
|
|
/**
|
|
*
|
|
* @description
|
|
* 该方法用于初始化 ray-template 配置。
|
|
*/
|
|
export const setupRayTemplateCore = async () => {
|
|
if (!__DEV__) {
|
|
return
|
|
}
|
|
|
|
await validAppRootPath()
|
|
await validLocal()
|
|
}
|