dg-ui
This library was generated with Angular CLI version 9.0.7.
Install
# Angular CLI
$ ng add @inexio/dg-ui
# NPM
$ npm install @inexio/dg-ui
Then, add the dg-ui
global styles and the dg-ui
theme to your project:
styles.scss
:
@import "~@inexio/dg-ui/dg-ui";
@import "~@inexio/dg-ui/dg-ui-theme";
Alternatively, you can also add the global dg-ui
styles to your angular.json
:
angular.json
:
{
"projects": {
"example-project": {
"architect": {
"build": {
"options": {
"styles": ["node_modules/@inexio/dg-ui/dg-ui.css"]
}
}
}
}
}
}
Develop
Simply run the following command to start the demo application. This also features hot reloading of changes made to library components.
$ ng serve
Build
Run the following comands to build the library into the dist
folder:
# Development
$ ng build dg-ui
# Production
$ ng build dg-ui --prod
Ship
Push or merge into master and initiate a new package release by running the following command inside of dist/dg-ui
:
$ np