@lacuna/material
v19.0.0
Published
**lacuna-material** is a consolidated Angular package created to centralize and unify several UI components that were previously maintained across different Lacuna's internal repositories. Its purpose is to improve portability, maintainability, and overa
Readme
Lacuna Material
lacuna-material is a consolidated Angular package created to centralize and unify several UI components that were previously maintained across different Lacuna's internal repositories. Its purpose is to improve portability, maintainability, and overall consistency by offering a single, cohesive module structure.
This package brings together the following components:
- LacunaMatImageViewerModule, originating from the former
ngx-image-viewerproject - LacunaMatTableModule, migrated from the internal
lac-mat-tableproject - LacunaMatLoadingModule, based on the external
ngx-loadinglibrary
All modules are now organized under the unified LacunaMatModule.
Installation
npm install @lacuna/materialGetting started
To import all modules import LacunaMatModule in your root application module:
@NgModule({
imports: [
LacunaMatModule,
],
})
export class AppModule {}Alternatively you can import only specific modules
LacunaMatImageViewerModuleLacunaMatLoadingModuleLacunaMatTableModule
Building
To build the library, run:
npm run build:material:prodThis command will compile your project, and the build artifacts will be placed in the dist/ directory.
Publishing the Library
Once the project is built, you can publish your library by following these steps:
Navigate to the
distdirectory:cd dist/lacuna-materialRun the
npm publishcommand to publish your library to the npm registry:npm publish
Config options
LacunaMatModule()