0.0.26 • Published 8 years ago
angular-navigation-ui v0.0.26
Angular 2 Library for creating a component, connected to our navigation-ui-service
For using in Angular2-Projects:
npm install angular-navigation-uix
- inside controller use "import {Navigation} from 'angular-navigation-uix/components'"
- inside controller add component as a directive: "directives: [ Navigation ]"
- inside template use <navigation-list></navigation-list> the fallback-url "http://ems-navigation-service.eu-central-1.elasticbeanstalk.com/" will be used
- if you would like to define a other url for the navigation service, use the following syntax:
<navigation-list [url]="'http://alternative.url.com'"></navigation-list>
## For contribution
- change what you would like to change
- increment version inside packages.json
- ```bash
npm run build
``` for building javascript-files
- ```bash
npm publish
``` to push the project to the npm repository
## To test
- you could alway use "npm link" and "npm link angular-navigation-uix" to test the package without publishing it (see here: https://medium.com/@OCombe/how-to-publish-a-library-for-angular-2-on-npm-5f48cdabf435#d1a0)