napp-gui-lib
v0.0.14
Published
This project contains components for Napoleon App.
Readme
NappGuiLib
This project contains components for Napoleon App.
Create new Component
- Run
ng generate component <component-name> --project=napp-gui-libto generate a new component. - Don't forget to export the new created component in
napp-gui-lib.module.tsandpublic_api.ts.
Build
Run npm run library:build to build the project. The build artifacts will be stored in the dist/ directory.
Publish to NPM
- Login to npm registry via command line:
npm login --scope=@08eins
- Fill in the credentials. Can be found in OnePassword. After a successful login you can publish this package with it's updates as follows:
npm publish ./dist/napp-gui-lib/napp-gui-lib-<version>.tgz- Adjust version number in package.json.
General informations
Imports
Import Components/Modules/Directives etc. always with the full path.
For example instead of import {DxButtonModule} from 'devextreme-angular'; import like this import {DxButtonModule} from 'devextreme-angular/ui/button';
