1.2.3 • Published 8 years ago
@4geit/ngx-footer-component v1.2.3
@4geit/ngx-footer-component 
footer for angular app
Installation
- A recommended way to install @4geit/ngx-footer-component is through npm package manager using the following command:
npm i @4geit/ngx-footer-component --saveOr use yarn using the following command:
yarn add @4geit/ngx-footer-component- You need to import the
NgxFooterComponentcomponent within the module you want it to be. For instanceapp.module.tsas follows:
import { NgxFooterComponent } from '@4geit/ngx-footer-component';And you also need to add the NgxFooterComponent component with the @NgModule decorator as part of the declarations list.
@NgModule({
// ...
declarations: [
// ...
NgxFooterComponent,
// ...
],
// ...
})
export class AppModule { }- You can also attach the component to a route in your routing setup. To do so, you need to import the
NgxFooterComponentcomponent in the routing file you want to use it. For instanceapp-routing.module.tsas follows:
import { NgxFooterComponent } from '@4geit/ngx-footer-component';And you also need to add the NgxFooterComponent component within the list of routes as follows:
const routes: Routes = [
// ...
{ path: '**', component: NgxFooterComponent }
// ...
];