0.3.0 • Published 3 years ago

@hxui/nav v0.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

HXUI Nav

An Angular library for managing navigation with Helix microfrontends.

Installation

npm i @hxui/nav

Usage

Import into app module.

import { NavModule, REDIRECT_MANIFEST } from '@hxui/nav';
import { appRedirects } from 'path/to/redirects';

@NgModule({
  imports: [NavModule],
  providers: [
    {
      provide: REDIRECT_MANIFEST,
      useValue: appRedirects,
    },
  ],
})
export class AppModule {}

Versions

@hxui/navAngular
0.x13.x

Build

Run ng build nav to build the project. The build artifacts will be stored in the dist/nav directory.

Publishing

After building your library with ng build nav, go to the dist folder cd dist/nav and run npm publish.

Running unit tests

Run npm run test to execute the unit tests via Jest.

License

MIT