Website 路 Quickstart 路 Documentation
A lightweight and fast interactive gantt chart/resource booking component made with Svelte. Compatible with any JS library or framework. ZERO dependencies.
npm install svelte-gantt
Import the component:
import { SvelteGantt } from 'svelte-gantt';
or use the IIFE build:
<script src="node_modules/svelte-gantt/index.iife.js"></script>
Initialize svelte-gantt:
var options = {
/* ... */
};
var gantt = new SvelteGantt({
// target a DOM element
target: document.getElementById('example-gantt'),
// svelte-gantt options
props: options
});
I am happy to help you. Post an issue or contact me.