The code for the complete app is on the completed-gantt
branch.
The starter repository uses Vite, which is a development server and JavaScript bundler. You’ll need Node.js version 18+ for Vite to work. Install the Vite dev dependency by running the following command:
npm install
Install the Bryntum Gantt component by following step 1 and step 4 of the vanilla JavaScript with npm setup guide.
Run the local dev server using the following command:
npm run dev
You'll see a Bryntum Gantt with 2 tasks and a dependency between the tasks: