|
Download packages/constants/README.md from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/constants/README.md
- Command line
-
hf download hf://spaces/binhugg3/admin/packages/constants/README.md
-
curl -L -o README.md https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/constants/README.md
372 Bytes
| # @vben/constants | |
| 用于多个 `app` 公用的常量,继承了 `@vben-core/shared/constants` 的所有能力。业务上有通用常量可以放在这里。 | |
| ## 用法 | |
| ### 添加依赖 | |
| ```bash | |
| # 进入目标应用目录,例如 apps/xxxx-app | |
| # cd apps/xxxx-app | |
| pnpm add @vben/constants | |
| ``` | |
| ### 使用 | |
| ```ts | |
| import { DEFAULT_HOME_PATH } from '@vben/constants'; | |
| ``` | |