https://github.com/geotrev/bulba
An intuitive, deterministic, and extendable web component base class.
https://github.com/geotrev/bulba
component component-library components custom-elements javascript web web-component web-components
Last synced: about 1 month ago
JSON representation
An intuitive, deterministic, and extendable web component base class.
- Host: GitHub
- URL: https://github.com/geotrev/bulba
- Owner: geotrev
- License: mit
- Created: 2020-03-07T04:34:13.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T09:23:03.000Z (about 2 years ago)
- Last Synced: 2024-04-21T10:44:12.806Z (about 2 years ago)
- Topics: component, component-library, components, custom-elements, javascript, web, web-component, web-components
- Language: JavaScript
- Homepage:
- Size: 2.41 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Bulba
A set of packages enabling an intuitive, deterministic, and extendable web component base class.
Base class (the main package):
- [@bulba/element](https://github.com/geotrev/bulba/tree/main/packages/element)
Renderers:
- [@bulba/jsx](https://github.com/geotrev/bulba/tree/main/packages/jsx)
- [@bulba/template](https://github.com/geotrev/bulba/tree/main/packages/template)
Utilities:
- [@bulba/utils](https://github.com/geotrev/bulba/tree/main/packages/utils)
### Development
To run tests:
```sh
$ npm test
```
To start the dev server, there are a few commands to know:
```sh
# Template renderer dev
$ npm run watch:template
# JSX renderer dev
$ npm run watch:jsx
# Template renderer, using CDN
$ npm run watch:cdn:template
# JSX renderer, using CDN
$ npm run watch:cdn:jsx
```
Note that when using the CDN commands, you should also uncomment one of the CDN links in the `index.html` entry point of either `preview/jsx` or `preview/template`. All should be valid after releasing a new version.