Kendo UI for Angular Gantt Manual Setup
The manual setup provides greater visibility and better control over the files and references installed in your Angular application.
If you already followed the installation steps in the Getting Started page, you can skip the manual setup approach demonstrated in this article.
You can install the required peer dependencies and a Kendo UI theme by running separate commands for each step and import the desired components and directives in your Angular component.
-
Install the Gantt package together with its dependencies by running the following command:
shnpm install --save @progress/kendo-angular-gantt @progress/kendo-angular-treelist @progress/kendo-angular-dropdowns @progress/kendo-angular-treeview @progress/kendo-angular-inputs @progress/kendo-angular-dateinputs @progress/kendo-angular-layout @progress/kendo-angular-dialog @progress/kendo-angular-progressbar @progress/kendo-data-query @progress/kendo-angular-intl @progress/kendo-angular-l10n @progress/kendo-angular-label @progress/kendo-drawing @progress/kendo-angular-excel-export @progress/kendo-angular-buttons @progress/kendo-angular-common @progress/kendo-angular-pdf-export @progress/kendo-angular-popup @progress/kendo-date-math @progress/kendo-licensing @progress/kendo-angular-icons
-
Import the
KENDO_GANTT
utility array in your standalone component to enable the entire feature set of the Gantt:tsimport { Component } from '@angular/core'; import { KENDO_GANTT } from '@progress/kendo-angular-gantt'; @Component({ standalone: true, selector: 'my-app', imports: [KENDO_GANTT] })
-
The next step is to style the components by installing one of the available Kendo UI themes.
3.1 To start using a theme, install its package through NPM.
-
Default theme
shnpm install --save @progress/kendo-theme-default
-
Bootstrap theme
shnpm install --save @progress/kendo-theme-bootstrap
-
Material theme
shnpm install --save @progress/kendo-theme-material
-
Fluent theme
shnpm install --save @progress/kendo-theme-fluent
3.2 After the theme package is installed, reference it in your project. You can include a Kendo UI theme in your project in one of the following ways:
- By using an external (CDN) link.
- By using a precompiled CSS file.
- By compiling the theme from the SCSS source files.
-