The AWTO UI Component Library is a private collection of reusable Angular components designed to provide a consistent and flexible user interface across all AWTO web applications.
Storybook is an open-source tool for developing UI components in isolation. It allows you to visualize and test components in different states and configurations, making development more efficient and reliable.
To run Storybook for this library, use:
npm run storybook
This will start the Storybook server and open it in your default browser, allowing you to explore the components available in this library.
Since this is a private library, you'll need to set up access to the private npm registry. Add an .npmrc file in the root of your project with the following content:
@awto:registry=https://repo.repsy.io/npm/awtocl/awto-packages
Then, you can install the library in your project using:
npm install @awto/uic
To create a new component, use the provided scripts:
On Windows: Run create-component.bat
:
create-component MyNewComponent
On Linux/MacOS: Run create-component.sh
:
./create-component MyNewComponent
These scripts will generate the necessary files and folder structure for your new component.
To start developing or contributing to the library, run:
npm run start
This repository uses Bitbucket Pipelines for Continuous Integration. All changes pushed to the repository are automatically tested and deployed.
This library is proprietary and intended for internal use by AWTO projects only.