1.3.0 • Published 4 years ago

dp-ui-components-angular-lib v1.3.0

Weekly downloads
16
License
ISC
Repository
-
Last release
4 years ago

Dealer UI Angular Components

Build Status

This repository contains a set of Angular 4 components and SCSS styles. You can leverage the components and styles or only the styles.

View the docs.

View the designs.

View recent changes.

Adding to your project

Before you begin, ensure that Artifactory is your default npm registry.

npm config set registry https://artifactory.cloud.capitalone.com/artifactory/api/npm/npm-publicfacing/

First, install the repo as a dependency.

npm install --save dp-ui-components-angular-lib@dev

Next, import the module into your app.

import { DealerUIComponentsModule } from 'dp-ui-components-angular-lib';
...
@NgModule({
  ...
  imports: [
    ...
    DealerUIComponentsModule,
    ...
  ],
  ...
})

Finally, add the SCSS to your .angular-cli.json.

{
  ...
  "apps": [
    {
      ...
      "styles": [
        "../node_modules/dp-ui-components-angular-lib/scss/index.scss",
        ...
      ]
    }
  ]
}

Running Locally

git clone https://github.kdc.capitalone.com/coaf-dealer-platform/ui-components-angular-lib.git
cd ui-components-angular-lib
npm install
npm start