bolierplate code for ngselect demo
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user