# Gantt Chart

## Installation
```bash
npm install --save ganttmingo
```
## Usage
### Config angular.json file 
> angular.json > projects > {angular-project} > architect > build > options > scripts
```json
"scripts": [
    "node_modules/ganttmingo/dist/index.js"
]
```
### Defines a schemas that allow NgModule contain "Custom Element"
Add CUSTOM_ELEMENTS_SCHEMA to the '@Component.schemas'
```
import { Component, CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";

@Component({
    selector: "app-root",
    standalone: true,
    schemas: [CUSTOM_ELEMENTS_SCHEMA],
    template: `
        <h1>Svelte in Angular!</h1>
        <gantt-mingo />
    `
})
export class AppComponent {}
```

> REF: [config-build-reference](https://dev.to/this-is-angular/rendering-svelte-components-as-web-components-in-angular-a-step-by-step-guide-409a)