This repo is for historical reference only.
@momentum-ui/angular
Momentum UI Angular is a UI framework for implementing Cisco Momentum Design into web apps and sites.
Install and manage the Momentum UI Angular using NPM. You may use yarn
or npm
. By default, yarn/npm installs packages to node_modules/.
npm install @momentum-ui/angular --save
or
yarn add @momentum-ui/angular
Import the components that you would like to use in the NgModule and declare them in the "imports" using the forRoot()
function.
import BadgeModule from '@momentum-ui/angular/lib/badge';
// or
import { BadgeModule } from '@momentum-ui/angular';
@NgModule({
imports: [
BadgeModule.forRoot()
]
})
Then import the components into the components where you will use them.
import BadgeComponent from '@momentum-ui/angular/lib/badge';
//or
import { BadgeComponent } from '@momentum-ui/angular';
PRs accepted.
© 2014-2019 Cisco and/or its affiliates. All Rights Reserved.