1.0.47 • Published 4 years ago
@bsmp/webcomponents v1.0.47
Web components library
@bsmp/webcomponents
- Reusable Web Components
- The web components are standard HTML elements, so they work in any major framework or with no framework at all.
- In many cases, the components can be used as a drop in replacement for traditional frontend frameworks to build widgets, microapps, apps, etc.
Using the webcomponents library
Script tag
- Put the following script tag in the head of your index.html:
<script src='https://unpkg.com/@bsmp/webcomponents/dist/bsm.js'></script>
- You can then use the webcomponents anywhere in your template, JSX, html etc.
In a stencil-starter app
- Run
npm install @bsmp/webcomponents --save
- Add an import to the npm packages
import '@bsmp/webcomponents';
- Then you can use the webcomponents anywhere in your template, JSX, html etc
Dev: getting started
Clone the repo, then run:
npm install
npm start
To watch for file changes during develop, run:
npm run dev
To build the components and classes for production, run:
npm run build
To run the unit tests for the components and classes, run:
npm test
Need help? Check out the Stencil docs here.
1.0.47
4 years ago
1.0.46
4 years ago
1.0.44
4 years ago
1.0.45
4 years ago
1.0.43
4 years ago
1.0.42
4 years ago
1.0.41
4 years ago
1.0.40
4 years ago
1.0.38
4 years ago
1.0.37
4 years ago
1.0.36
4 years ago
1.0.35
4 years ago
1.0.33
4 years ago
1.0.31
4 years ago
1.0.34
4 years ago
1.0.29
4 years ago
1.0.30
4 years ago
1.0.28
5 years ago
1.0.27
5 years ago
1.0.26
5 years ago
1.0.25
5 years ago
1.0.24
5 years ago
1.0.22
5 years ago
1.0.23
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago