
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@thtf/prolayout
Advanced tools
Vue 2.6.14+
Vue-Router 3.5.4+
Element-UI 2.15.8+
svg-sprite-loader 6.0.11+
npm install @thtf/prolayout
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| device | 显示模式:手机、电脑 | String | desktop | desktop |
| logoTitle | layout 的左上角 的 title | String | - | '' |
| headerHeight | 顶部导航高度 | Number | - | 48 |
| sideWidth | 左侧菜单栏宽度 | Number | - | 200 |
| sideCollpaseWidth | 左侧菜单栏收缩宽度 | Number | - | 48 |
| menuRoutes | 路由数组 | Array | - | [] |
| predefine | 预设颜色 | Array | - | ['#2e59a7', '#80d1c8', '#0095b6', '#ff770f', '#1a7bb0'] |
| settings | 布局配置 | Object | - | - |
| showSettings | 是否显示配置 | Boolean | - | false |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| path | 路由路径 | String | ||
| name | 路由的名字 | String | ||
| component | 路由组件 | Vue | ||
| hiddren | 路由是否隐藏 | Boolean | false, true | false |
| alwaysShow | 路由是否总是显示 | Boolean | false, true | true |
| redirect | 在面包屑导航中是否可点击 | String | noRedirect | |
| query | 默认传递参数 | String | ||
| roles | 访问路由的角色权限 | Array | ||
| permissions | 访问路由的菜单权限 | Array | ||
| meta | 路由元数据信息 | Object |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| sideTheme | 侧边栏风格 | String | theme-dark, theme-light, theme-image | theme-image |
| showSideTheme | 显示侧边栏风格 | Boolean | true, false | false |
| theme | 主题色 | String | - | #2E59A7 |
| navMode | 导航模式 | String | aside, top, mix | mix |
| fixedHeader | 是否固定顶部导航 | Boolean | true, false | true |
| fixedSide | 是否固定侧边菜单 | Boolean | true, false | true |
| autoMenu | 是否自动分割菜单 | Boolean | true, false | true |
| thumbnailImages | 缩略图配置 | Array | ||
| backgroundImage | 选中的缩略图 | String | ||
| showHeader | 是否显示顶栏 | Boolean | true, false | true |
| showSide | 是否显示菜单 | Boolean | true, false | true |
| showLogo | 是否显示 Logo | Boolean | true, false | true |
| showHeaderSideLogo | 是否显示顶栏、菜单、Logo 配置 | Boolean | true, false | false |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| src | 图片路径 | String | ||
| fit | 图片缩放配置 | String | contain, cover, fill, none, scale-down | |
| color | 图片对应的颜色 | String |
| 名称 | 说明 |
|---|---|
| logo | layout 的左上角 logo |
| logoRender | layout 的左上角 |
| rightMenu | 导航栏最右侧菜单区域 |
| default | 默认插槽 |
npm run release
npm run build
npm login
npm publish
FAQs
一个基于 vue 的布局组件。
The npm package @thtf/prolayout receives a total of 3 weekly downloads. As such, @thtf/prolayout popularity was classified as not popular.
We found that @thtf/prolayout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.