Update to new structure
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { EmptyDemoComponent } from './emptydemo.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: EmptyDemoComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class EmptyDemoRoutingModule { }
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="grid">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<h4>Empty Page</h4>
|
||||
<p>This is your empty page template to start building beautiful applications.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
templateUrl: './emptydemo.component.html'
|
||||
})
|
||||
export class EmptyDemoComponent { }
|
||||
13
src/app/demo/components/pages/empty/emptydemo.module.ts
Normal file
13
src/app/demo/components/pages/empty/emptydemo.module.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { EmptyDemoRoutingModule } from './emptydemo-routing.module';
|
||||
import { EmptyDemoComponent } from './emptydemo.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
EmptyDemoRoutingModule
|
||||
],
|
||||
declarations: [EmptyDemoComponent]
|
||||
})
|
||||
export class EmptyDemoModule { }
|
||||
Reference in New Issue
Block a user