
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
UI components based on [Vue.js]
using npm
npm install nek-vue --save
import nek from 'nek-vue'
import 'nek-vue/lib/style/index.css'
Vue.use(nek)
借助 babel-plugin-component,我们可以只引入需要的组件,以达到减小项目体积的目的。
首先,安装 babel-plugin-component:
npm install babel-plugin-component -D
然后,在 .babelrc 添加如下配置:
"plugins": [["component", [
{
"libraryName": "nek-vue",
"styleLibraryName": "style",
"styleLibrary": {
"name": "/",
"base": true,
"path": "[module]/style/index.css",
"mixin": false
},
"camel2Dash": true
}
]]]
接下来,如果你只希望引入部分组件,比如 Button 和 Select,那么需要在 main.js 中写入以下内容:
import { Button } from 'nek-vue'
Vue.component(Button.name, Button)
MIT
FAQs
nek-ui by vue
The npm package nek-vue receives a total of 21 weekly downloads. As such, nek-vue popularity was classified as not popular.
We found that nek-vue 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.