
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
vue3-gantt-component
Advanced tools
基于 vue3 的甘特图
跟 react 版本参数一样 除去 render 不可用
https://github.com/zrx-888/react-gantt
npm i vue3-gantt-component
或者
yarn add vue3-gantt-component
https://react-gantt.vercel.app/

<Gantt :head="head" :data="list" ref="ganttRef">
/**
*
* @param width 进度条宽度(不包含超出的宽度)
* @param activeWidth 选中进度条宽度
* @param surplusWidth 剩余进度条宽度
* @param overflowWidth 超出的宽度
* @returns 自定义进度条的宽度
*/
<template #parentSlot="{ activeWidth, overflowWidth }">
<div style="display: flex">
<div :style="{ width: activeWidth + 'px' }">
我的宽度是:{{ activeWidth }}px
</div>
<div :style="{ width: overflowWidth + 'px' }" v-if="overflowWidth">
我的宽度是:{{ overflowWidth && overflowWidth.toFixed(2) }}px
</div>
</div>
</template>
<template #childrenSlot="row">
<div style="display: flex">
<div :style="{ width: row.width + 'px' }">{{ row.width.toFixed(0) }}px</div>
</div>
</template>
</Gantt>
FAQs
vue3甘特图
We found that vue3-gantt-component 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.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.