
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@kyfe/hroa-ui
Advanced tools
yarn add @kyfe/hroa-ui
// 全局引入UI组件
import hroaUI from '@kyfe/hroa-ui'
Vue.use(hroaUI)
按需引入组件需要先装依赖来支持
yarn add babel-plugin-import
然后在根目录babel.config.js中配置
module.exports = {
"presets": [
"@vue/app"
],
"plugins": [
[
"import",
{
libraryName: "@kyfe/hroa-ui", // 这是我们的包名
style: (name) => {
return `${name}/index.css`;
},
camel2DashComponentName: true, // 是否需要驼峰转短线
camel2UnderlineComponentName: false, // 是否需要驼峰转下划线
},
],
]
}
最后在项目入口文件引入注册需要使用的组件
// 按需引入组件
import {
hrButton
} from "hroa-ui";
// 注册
Vue.use(hrButton)
| 注意:
| 组件名 | 说明 |
|---|---|
| hrButton | 按钮 |
| hrViewItem | 表单项视图组件 |
FAQs
HR-OA-KTS部门前端公共组件
We found that @kyfe/hroa-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.