diff --git a/projects/demo/app/demo.module.ts b/projects/demo/app/demo.module.ts
deleted file mode 100644
index f43f1bb..0000000
--- a/projects/demo/app/demo.module.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { NgModule } from '@angular/core';
-import { FormsModule } from '@angular/forms';
-import { BrowserModule } from '@angular/platform-browser';
-import { DemoComponent } from './demo.component';
-import { FlatpickrModule } from 'angularx-flatpickr';
-
-@NgModule({
- declarations: [DemoComponent],
- imports: [BrowserModule, FormsModule, FlatpickrModule.forRoot()],
- bootstrap: [DemoComponent],
-})
-export class DemoModule {}
diff --git a/projects/demo/main.ts b/projects/demo/main.ts
index 524e537..b485510 100644
--- a/projects/demo/main.ts
+++ b/projects/demo/main.ts
@@ -1,13 +1,11 @@
import { enableProdMode } from '@angular/core';
-import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
+import { bootstrapApplication } from '@angular/platform-browser';
-import { DemoModule } from './app/demo.module';
import { environment } from './environments/environment';
+import { DemoComponent } from './app/demo.component';
if (environment.production) {
enableProdMode();
}
-platformBrowserDynamic()
- .bootstrapModule(DemoModule)
- .catch((err) => console.error(err));
+bootstrapApplication(DemoComponent).catch((err) => console.error(err));