0.0.2 • Published 4 years ago

dp-world-page-titles v0.0.2

Weekly downloads
61
License
-
Repository
-
Last release
4 years ago

Example Usage

    <dp-world-page-titles [urlMap]="pageTitlesConfig"></dp-world-page-titles>

    pageTitlesConfig = {
        "": {
            title: 'Home',
            subTitle: 'Welcome to the Shared Components Project!',
        },
        "content": {
            title: 'Content',
            subTitle: 'This is where content goes!',
            secondLink: 'Applications',
            firstLink: 'Home',
        },
    };

Code scaffolding

Run ng generate component component-name --project dp-world-page-titles to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project dp-world-page-titles.

Note: Don't forget to add --project dp-world-page-titles or else it will be added to the default project in your angular.json file.

Build

Run ng build dp-world-page-titles to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build dp-world-page-titles, go to the dist folder cd dist/dp-world-page-titles and run npm publish.

Running unit tests

Run ng test dp-world-page-titles to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

0.0.2

4 years ago

0.0.1

4 years ago