Socket
Socket
Sign inDemoInstall

@4geit/ngx-footer-component

Package Overview
Dependencies
102
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @4geit/ngx-footer-component

footer for angular app


Version published
Weekly downloads
7
Maintainers
1
Created
Weekly downloads
 

Readme

Source

footer for angular app

Installation

  1. A recommended way to install @4geit/ngx-footer-component is through npm package manager using the following command:
npm i @4geit/ngx-footer-component --save

Or use yarn using the following command:

yarn add @4geit/ngx-footer-component
  1. You need to import the NgxFooterComponent component within the module you want it to be. For instance app.module.ts as 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 { }
  1. You can also attach the component to a route in your routing setup. To do so, you need to import the NgxFooterComponent component in the routing file you want to use it. For instance app-routing.module.ts as 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 }
  // ...
];

FAQs

Last updated on 29 Jun 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc