0.3.0 • Published 3 years ago
@hxui/nav v0.3.0
HXUI Nav
An Angular library for managing navigation with Helix microfrontends.
Installation
npm i @hxui/navUsage
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.