version
Description
Current Gantt package versionThe version constant exports the current version of the Gantt package used in your project.
It is primarily intended for use with the export service, allowing you to construct a versioned export endpoint that guarantees compatibility between the client-side Gantt and the server-side export service.
You can import the component from "@svar/gantt":
import { version } from "@svar/gantt";
The version value always matches the installed Gantt package version.
Example
import { version } from "@svar/gantt";
const url = "https://export.svar.dev/gantt/" + version;
Related article: Exporting