UNPKG

angular2-simple-ui

Version:

Angular 2 Simple Material Design UI Components customisable with Simple 30 KB CSS with LESS support and full features support , just plugin up and run for clarity look at sample examples

32 lines (28 loc) 900 B
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { CommonModule } from '@angular/common'; import { HttpModule , JsonpModule } from '@angular/http'; import { RouterModule } from '@angular/router'; import { SuiModule } from '../../sui/sui.module'; import { AppComponent } from './app.component'; import { WelcomeComponent } from './home/welcome.component'; @NgModule({ imports: [ BrowserModule, CommonModule, HttpModule, JsonpModule , RouterModule.forRoot([ { path: 'welcome', component: WelcomeComponent }, { path: '', redirectTo: 'welcome', pathMatch: 'full' }, { path: '**', redirectTo: 'welcome', pathMatch: 'full' } ]), SuiModule ], declarations: [ AppComponent, WelcomeComponent, ], bootstrap: [AppComponent] }) export class AppModule { }