panel-drift-menu
v0.0.12
Published
`panel-drift-menu` is an Angular library for menu UI components.
Readme
MenuUi Library
panel-drift-menu is an Angular library for menu UI components.
Installation
Install the library from npm:
npm install panel-drift-menuPeer Dependencies
Make sure your project has the following peer dependencies installed:
@angular/core^20.3.0@angular/common^20.3.0
Usage
Import the Module/Component
If the library exports a standalone component:
import { MenuUi } from 'panel-drift-menu';Add to Your Module or Standalone Imports
For standalone usage (Angular 14+):
import { bootstrapApplication } from '@angular/platform-browser'; import { AppComponent } from './app/app.component'; import { MenuUi } from 'panel-drift-menu'; bootstrapApplication(AppComponent, { providers: [], imports: [MenuUi] });Or, if using NgModule:
import { MenuUi } from 'panel-drift-menu'; @NgModule({ imports: [MenuUi], // ... }) export class AppModule {}Use in Template
<lib-menu-ui ></lib-menu-ui>
Building the Library (for contributors)
To build the library locally:
ng build menu-uiArtifacts will be in the dist/menu-ui directory.
Publishing (for maintainers)
After building, publish with:
cd dist/menu-ui
npm publishRunning Unit Tests
ng test menu-uiLicense
MIT
