Gathering detailed insights and metrics for @uiw-admin/router-control
Gathering detailed insights and metrics for @uiw-admin/router-control
Gathering detailed insights and metrics for @uiw-admin/router-control
Gathering detailed insights and metrics for @uiw-admin/router-control
UIW-Admin Panel Framework, Powered by React and @uiwjs.
npm install @uiw-admin/router-control
Typescript
Module System
Node Version
NPM Version
TypeScript (92.45%)
CSS (5.68%)
JavaScript (1.83%)
Shell (0.04%)
Less (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
22 Stars
1,450 Commits
21 Forks
7 Watchers
19 Branches
16 Contributors
Updated on Jan 05, 2025
Latest Version
6.1.9
Package Id
@uiw-admin/router-control@6.1.9
Unpacked Size
8.01 kB
Size
2.16 kB
File Count
7
NPM Version
8.19.4
Node Version
16.20.0
Published on
Apr 27, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
3
导出路由相关方法
1npm i @uiw-admin/router-control --save # yarn add @uiw-admin/router-control
当前配置参数配合@uiw-admin/basic-layouts使用
1export interface RoutesBaseProps { 2 key?: string; 3 /** 默认跳转 */ 4 index?: boolean; 5 /** 路径 */ 6 path?: string; 7 /** 名称 */ 8 name?: string; 9 /** 图标 */ 10 icon?: string | React.ReactNode; 11 /** 重定向 当 index===true生效 */ 12 redirect?: string; 13 /** 子集 路由 */ 14 children?: RoutesBaseProps[]; 15 /** 隐藏主菜单 */ 16 hiddenMainMenu?: boolean; 17 /** 是否隐藏菜单 */ 18 hideInMenu?: boolean; 19 /** 用于路由校验权限 */ 20 isAuth?: boolean; 21 /** 自定义 跳转 */ 22 // navigate?: (navigate: NavigateFunction) => void; 23 navigate?: string; 24 /** 控制是否侧边只展示子路由 **/ 25 side?: boolean; 26}
感谢所有的贡献者,欢迎开发者为开源项目贡献力量。
Licensed under the MIT License.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 9/13 approved changesets -- score normalized to 6
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More