ngprime-x v0.0.1
ngprime-x
ngprime-x is a library of schematics designed to simplify the development of Angular applications with PrimeNG components and streamlined integration with Keycloak for Identity and Access Management (IAM).
Table of Contents
Installation
To get started with ngprime-x, you need to install it in your Angular project:
ng add ngprime-xUsage
Generating Components
You can generate various components using the schematics along with their shortcuts.
Table Component
This schematic generates a table component.
ng generate ngprime-x:table-component my-tableShortcut:
ng generate ngprime-x:tc my-tableLoading Component
This schematic generates a loading component.
ng generate ngprime-x:loading-component my-loadingShortcut:
ng generate ngprime-x:lc my-loadingKeycloak Initialization
This schematic initializes Keycloak and adds a Keycloak guard for the current application.
ng generate ngprime-x:keycloakShortcut:
ng generate ngprime-x:kcLayout Module
This schematic generates a Layout module with all its related components.
ng generate ngprime-x:layout my-layoutShortcut:
ng generate ngprime-x:l my-layoutCRUD Page Component
This schematic generates a CRUD page component with all its related components.
ng generate ngprime-x:crud-page my-crud-pageShortcut:
ng generate ngprime-x:cp my-crud-pageError Component
This schematic generates an error component.
ng generate ngprime-x:error-component my-errorShortcut:
ng generate ngprime-x:ec my-errorLicense
ngprime-x is licensed under the MIT License.
Source Code
The source code for ngprime-x can be found on GitHub.
2 years ago