bolierplate code for ngselect demo

This commit is contained in:
Yubing325
2020-06-30 10:21:02 -05:00
parent 9e02901937
commit f3f24f8ed8
8 changed files with 60 additions and 1 deletions
@@ -0,0 +1,19 @@
import { NgModule } from "@angular/core";
import { RouterModule, Routes } from '@angular/router';
import { NgSelectDemoComponent } from './ng-select-demo/ng-select-demo.component';
const routes: Routes =[
{
path: '',
component: NgSelectDemoComponent
}
]
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class NgSelectDemoRoutingModule {
}
@@ -0,0 +1,15 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgSelectDemoComponent } from './ng-select-demo/ng-select-demo.component';
import { NgSelectDemoRoutingModule } from './ng-select-demo-routing.module';
@NgModule({
declarations: [NgSelectDemoComponent],
imports: [
CommonModule,
NgSelectDemoRoutingModule
]
})
export class NgSelectDemoModule { }
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'ps-ng-select-demo',
templateUrl: './ng-select-demo.component.html',
styleUrls: ['./ng-select-demo.component.scss']
})
export class NgSelectDemoComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}