diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 0f257e7..344f26c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,5 +1,8 @@ +// Push Notifications +import { ServiceWorkerModule } from '@angular/service-worker'; + import { BrowserModule } from '@angular/platform-browser'; -import { NgModule } from '@angular/core'; +import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { LocationStrategy, HashLocationStrategy } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; @@ -38,6 +41,8 @@ import { P500Component } from './pages/500.component'; import { AuthModule } from './auth/auth.module'; import { DashboardModule } from './dashboard/dashboard.module'; + + @NgModule({ imports: [ BrowserModule, @@ -51,6 +56,7 @@ import { DashboardModule } from './dashboard/dashboard.module'; AppRoutingModule, ], declarations: [ + ServiceWorkerModule, AppComponent, FullLayoutComponent, SimpleLayoutComponent, @@ -76,6 +82,9 @@ import { DashboardModule } from './dashboard/dashboard.module'; useClass: HashLocationStrategy } ], + schemas: [ + CUSTOM_ELEMENTS_SCHEMA + ], bootstrap: [ AppComponent ] }) export class AppModule { } diff --git a/src/app/layouts/full-layout.component.html b/src/app/layouts/full-layout.component.html index 8a205f9..1c7a0fb 100644 --- a/src/app/layouts/full-layout.component.html +++ b/src/app/layouts/full-layout.component.html @@ -19,6 +19,7 @@ +
diff --git a/src/app/push/push.component.html b/src/app/push/push.component.html new file mode 100644 index 0000000..c9df174 --- /dev/null +++ b/src/app/push/push.component.html @@ -0,0 +1,4 @@ + + diff --git a/src/app/push/push.component.ts b/src/app/push/push.component.ts new file mode 100644 index 0000000..b5961ff --- /dev/null +++ b/src/app/push/push.component.ts @@ -0,0 +1,19 @@ +import { Component, OnInit} from '@angular/core' +import { PushNotificationComponent } from 'ng2-notifications/ng2-notifications'; + +@Component({ + selector: 'push', + templateUrl: './push.component.html', + + }) + + +export class PushComponent { + + constructor(){} + + ngOnInit(){ + + } + +}