akveo / nebular
- четверг, 4 октября 2018 г. в 00:20:47
TypeScript
Angular 6 Components, Auth and Security
Nebular is a great toolkit if you build Rich UI web-application based on Angular, and want to bootstrap your development using essential features out of the box. It provides you with a set of native Angular components, themeable components, authentication and security layers easily configurable for your API. At the same time, Nebular allows you to use it together with any other UI library you choose.
Documentation | ngx-admin demo
npm install --save @nebular/theme @angular/cdk @angular/animations
Additionally you can install Auth and Security npm install --save @nebular/auth @nebular/security
app.module
:import { RouterModule } from '@angular/router';
import { NbThemeModule } from '@nebular/theme';
@NgModule({
imports: [
RouterModule.forRoot([ ... ]), // Router is required by Nebular
NbThemeModule.forRoot({ name: 'default' }),
]
})
export class AppModule { }
"styles": [
"../node_modules/@nebular/theme/styles/prebuilt/default.css",
],
import { NbLayoutModule, NbButtonModule } from '@nebular/theme';
@NgModule({
imports: [
NbLayoutModule,
NbButtonModule,
],
})
export class SomePageModule { }
@Component({
template: `
<nb-layout>
<nb-layout-header fixed>Awesome Nebular</nb-layout-header>
<nb-layout-column>
<button nbButton>Hello World!</button>
</nb-layout-column>
</nb-layout>
`,
})
export class SomePageComponent { }
That's it. Check Documentation for more details.
MIT license.
This project runs its tests on multiple desktop and mobile browsers using BrowserStack.
Made with