asksuite-citrus
v3.11.3
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.1.0.
Downloads
1,665
Readme
asksuite-citrus
This library was generated with Angular CLI version 14.1.0.
About
Angular Library containing all tokens and components from Asksuite Design System.
Local Testing
- Run
ng build --watch
- Go to generated lib folder
cd dist/asksuite-citrus
- Register symlink
npm link
- Go to an Angular project (i.e.
asksuite-dashboard
) - Create symlink
npm link asksuite-citrus
Note 1: When working with symlinks, you must add the following snippet to angular.json on the path
projects.architect.build.options
:"preserveSymlinks": true
Note 2: When rebuilding the asksuite-citrus lib, sometimes an error is trigerred on the angular project where the lib is being tested. Just restarting the application or relinking the package should solve the problem.
Building
In order to build the lib run ng build
If the error NG3001: Unsupported private class
shows up, add the class import to public-api.ts
. All classes created within the lib must be exposed there.
Storybook
Storybook is the tool used to test and document the UI elements. You can run it by executing the following commmand:
npm run storybook