Back to Abp

Abp Ng Packages

npm/ng-packs/README.md

10.3.01.7 KB
Original Source

Abp Ng Packages

<a href="https://github.com/abpframework/abp/actions?query=workflow%3AAngular"></a> <a href="https://github.com/abpframework/abp/labels/ui-angular"></a> <a href="https://github.com/abpframework/abp/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Aui-angular"></a> <a href="https://npmjs.org/package/@abp/ng.core"></a>

Getting started

Run yarn to install all dependencies.

Run yarn start to start the dev-app. Navigate to http://localhost:4200/.

Development

Application

The dev-app project is the same as the Angular UI template project. dev-app is used to see changes instantly.

Reminder! If you have developed the dev-app template, you should do the same for the application and module templates.

For more information, see the docs.abp.io

If would you like contribute, see the contribution guideline.

Git Hooks

There is a pre-defined git hook for Angular project. This hook is pre-commit. The hook run prettier for staged files. If you want to use this hook. (This steps tested for linux and Mac os)

  • Go to npm/ng-packs
  • Run chmod +x ./pre-commit in terminal
  • Run git config core.hooksPath npm/ng-packs in terminal and now, when you create a git commit, git hook execute prettier for staged files.