Our goal is create a library for building reusable components to build faster, more autonomously and keep the consistency in the whole platform.
- Design: Create interactive UIs.
- IT: Build UI components to manage their own state, then compose them to make complex UIs.
Feature | Notes | Docs |
---|---|---|
Button | Docs | |
Button-toggle | Docs | |
toolbar | Docs |
If you'd like to contribute, you can create an issue or contribute with a Pull request
- Run
npm run build:lib
to generate the UI library. - Run
npm start
to serve the demo app in a dev server. - Navigate to
http://localhost:4200/
. - The app will automatically reload if you change any of the source files.
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
.
- Run
npm run build
to build the demo project. The build artifacts will be stored in thedist/dev-demo
directory. - Run
npm run build:lib
to build the library project. The build artifacts will be stored in thedist/dev
directory.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
We follow the tslint-airbnb and codelyzer, you can see in tslint.json
{
"extends": ["tslint-config-airbnb"],
"rulesDirectory": [
"node_modules/codelyzer"
]
}
To run the lint you should run npm run lint
.
We have prettier to enforces a consistent style, you should run npm run format:check
.