@leanix/components
v0.4.320
Published
_LeanIX Components_ is our Angular UI component library at [LeanIX](https://www.leanix.net/en/). [Here is a preview](https://storybook.leanix.net) of the bulk of this library.
Downloads
2,983
Readme
LeanIX Components
LeanIX Components is our Angular UI component library at LeanIX. Here is a preview of the bulk of this library.
Installation
npm i @leanix/components
Add the following postinstall script to your package.json:
"postinstall": "ngcc"
If you are using a solution-style tsconfig.json
, you will need to specify the path to the actual tsconfig file used for compiling the app code:
"postinstall": "ngcc --tsconfig <path-to-tsconfig>"
Usage
Import the required module, e.g., the CoreUI module:
import { LxCoreUiModule } from '@leanix/components';
…
@NgModule ({
…
imports: [
…
LxCoreUiModule
]
})
And start using it in your templates:
<button lx-button type="button" (click)="onSave()">Save</button>
Licensing
LeanIX Components is licensed under the Apache License, Version 2.0.