- JavaScript 100%
| angular | ||
| components | ||
| dist | ||
| loader | ||
| LICENSE | ||
| package.json | ||
| readme.md | ||
Beagle Design System
This project contains the UI WebComponent for the UWV based on StenciljS. It also generates the Beagle example implemenation with documentation.
- Getting started
- What should be part of this library?
- Branching strategy and hosting
- Continous Integration & Delivery
- How to use this Library in your site
- Basic page template for apps and sites
- How to release
- DS tokens
- End-to-end testing
- Visual testing
- NPM Package Distribution
Contributor setup: After cloning, run
npm install(postinstall auto-runs).
NPM Package
Beagle is published to GitHub Packages as @nluwv/beagle. The published package contains only:
dist/— compiled, bundled WebComponents (dependencies pre-bundled, zero external runtime dependencies)loader/— StencilJS loader files
All source code, build scripts, and development tools stay in the repository only.
WebComponents
UWV has chosen to create the frond end UI as WebComponents. The reason for this is to be independent of a particular JavaScript Framework like Angular or React and its versions. To build these Web Components UWV use StenciljS. StencilJS is a compiler to build Web Components with TypeScript and JSX. These components are build to native Web Components.
Naming Components
- Use the prefix 'bgl' for component tags, folder, template files
- Prefixing the className of the component is not necessary.
- Each component should have it's own directory.
Help
Need help on getting started with StencilJS? Check out the StencilJS docs.
For Windows users:
If you're having trouble running the library on windows try installin the dependencies using npm ci.