@hxui/nav
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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/nav Angular
0.x 13.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

Package Sidebar

Install

npm i @hxui/nav

Weekly Downloads

48

Version

0.3.0

License

MIT

Unpacked Size

235 kB

Total Files

28

Last publish

Collaborators

  • matthew.curcio
  • bpulliese
  • graeme.mclaughlin
  • keyurc
  • alex.philip