@bsmp/webcomponents
TypeScript icon, indicating that this package has built-in type declarations

1.0.47 • Public • Published

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.

Built With Stencil

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.470latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.470
1.0.460
1.0.450
1.0.440
1.0.430
1.0.420
1.0.410
1.0.400
1.0.380
1.0.370
1.0.360
1.0.350
1.0.340
1.0.330
1.0.310
1.0.300
1.0.290
1.0.280
1.0.271
1.0.260
1.0.250
1.0.240
1.0.230
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
0.0.20
0.0.10

Package Sidebar

Install

npm i @bsmp/webcomponents

Weekly Downloads

1

Version

1.0.47

License

MIT

Unpacked Size

3.19 MB

Total Files

367

Last publish

Collaborators

  • bobstoute