# MuiKit

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.8.

## Development server

- Run `npm run lib:watch` for a dev server for library changes.
- Run in another terminal `npm start` for dev server for `mui-kit-app`
- Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
- Start using Library import like `import { NgxMuiKitComponent } from 'ngx-mui-kit';`

## Publishing ngx-mui-kit

- Run `npm run lib:build` to generate a new build under `dist` folder.
- Run `npm run lib:publish` it will navigate to `dist` folder and publish its content to NPM repository.
  > :warning: **You need to create NPM account and login in you terminal first**: Be very careful here!
## Configuration assets 
- Add this object in angular.json in styles array in your project after install package
-    {
-      "glob": "**/*",
-      "input": "./node_modules/ngx-mui-kit/assets",
-      "output": "./assets"
-    }
## Install packages configuration  
1- In the `package.json` file Add the following script to the scripts object:
- `"postinstall": "npm i @angular/material @angular/cdk ngx-pagination google-libphonenumber intl-tel-input ngx-bootstrap ngx-intl-tel-input --legacy-peer-deps"`

2- Create file with the name `.npmrc` at the root of your project and add the following lines to it:
- `ignore-optional=false`
- `legacy-peer-deps=true`

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
