
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
vue-ganttastic
Advanced tools
A simple and easy-to-use Gantt chart component for Vue.js
Using Vue 3? Check out the Vue-Ganttastic v2 and the corresponding npm package.
You can install and use Vue-Ganttastic in your project using npm:
npm install vue-ganttastic
Moment.js is a peer-dependency of Vue-Ganttastic. In order for Vue-Ganttastic to work correctly, you need to install it in your project:
npm install moment
Import the components GGanttChart and GGanttRow.
Use g-gantt-chart in your template, pass the desired chart start and chart end time as props (chart-start and chart-end) and add g-gantt-rows
to the default template slot.
Pass an array containing your bar objects to every row using the bars prop, while specifying the name of the properties in your bar objects that stand for the bar start and bar end time using the props bar-start and bar-end
For more detailed information, such as how to style the bars or additional configuration options, please refer to the docs on the project's homepage (coming soon).
The following code showcases a simple usage example in a .vue SFC (Single File Component)
<template>
...
<g-gantt-chart
:chart-start="myChartStart"
:chart-end="myChartEnd"
>
<g-gantt-row
v-for="row in rows"
:key="row.label"
:label="row.label"
:bars="row.bars"
bar-start="myStart"
bar-end="myEnd"
/>
</g-gantt-chart>
...
</template>
<script>
import {GGanttChart, GGanttRow} from 'vue-ganttastic'
export default {
...
components:{
GGanttChart,
GGanttRow
},
data(){
return {
myChartStart: "2020-03-01 00:00",
myChartEnd: "2020-03-03 00:00",
rows: [
{
label: "My row #1",
bars: [
{
myStart: "2020-03-01 12:10",
myEnd: "2020-03-01 16:35"
}
]
},
{
label: "My row #2",
bars: [
{
myStart: "2020-03-02 01:00",
myEnd: "2020-03-02 12:00"
},
{
myStart: "2020-03-02 13:00",
myEnd: "2020-03-02 22:00"
}
]
}
]
}
}
...
}
</script>
Clone the project
Install the Vue CLI service, if you don't already have it installed:
npm install -g @vue/cli
npm install -g @vue/cli-service-global
Install all dependencies:
npm install
Playground.vue is a dedicated Vue SFC where all Vue-Ganttastic features can be
played around with and tested out. Get it running using:
vue serve src/Playground.vue
To build the project:
npx bili --bundle-node-modules
FAQs
A simple and customizable Gantt chart component for Vue.js
We found that vue-ganttastic 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.