
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@kvuse/components
Advanced tools
vue3组件库
# Npm
npm install @kvuse/components
# Yarn
yarn add @kvuse/components
import {
directives,
KButton,
KInput,
KInputNumber,
KTable,
KTableV2,
KPage,
KBatchTable,
KDialog,
KBreadcrumb,
KTabs,
KPicker,
KTooltip,
KDatePicker,
KNumberKeyboard,
KVirtualList,
KAutoCounter,
KCollapseButton,
KCardList,
} from '@kvuse/components';
export default {
components: {
directives,
KButton,
KInput,
KInputNumber,
KTable,
KTableV2,
KPage,
KBatchTable,
KDialog,
KBreadcrumb,
KTabs,
KPicker,
KTooltip,
KDatePicker,
KNumberKeyboard,
KVirtualList,
KAutoCounter,
KCollapseButton,
KCardList,
},
};
import { directives } from '@kvuse/components';
import { directive } from 'vue';
export default {
name: 'MyComponent',
directives,
// 组件选项
setup() {
// 组件代码
}
};
import { createApp } from 'vue';
import { KUI } from '@kvuse/components';
import '@kvuse/components/dist/index.css';
Vue.use(KUI)
如果出现以下警告⚠️
resolveComponent can only be used in render() or setup()
是因为vue版本不统一导致,解决如下:
vite.config.js设置
const { resolve } = require('path');
export default {
resolve: {
alias: {
vue: resolve(__dirname, './node_modules/vue'),
},
},
};
FAQs
vue3 + elementPlus 常用组件
The npm package @kvuse/components receives a total of 61 weekly downloads. As such, @kvuse/components popularity was classified as not popular.
We found that @kvuse/components 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.