0.0.3 • Published 7 years ago
bc-essentials v0.0.3
#Angular Nad-Components Template
Nad components are a lot of private components of North American Division
##Package Dependencies
"@angular/common": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/platform-server": "^4.0.0",
"@angular/router": "^4.0.0",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4",
"@angular/compiler": "^4.0.0",
"@angular/compiler-cli": "^4.0.0",
"typescript": "2.3.2"
##Quickstart
Step 1. Installation
Install the component
npm install nad-components-template --save
Step 2. import 'NadComponentSampleModule' module
app.module.ts:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
**import {NadComponentSampleModule} from 'nad-components-template'**
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
**NadComponentSampleModule**
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Step 3. Using sample component of 'NAD-Components Template'
In your AppComponent.html, you can add this tag <nad-hello-world> </nad-hello-world>