0.0.1 • Published 10 months ago

sdpi-components v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Stream Deck Property Inspector Web Components

Continuous Integration npm version downloads Built With Stencil

This is a small collection of components for building out Stream Deck Property Inspector pages. This is incomplete and I'm mostly putting this out initially just so I can actually begin using it.

Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

git clone https://github.com/TheAppleFreak/streamdeck-property-inspector-components.git

and run:

npm install
npm start

To build the component for production, run:

npm run build

Need help? Check out the Stencil docs here.

Using this component

There are three strategies we recommend for using web components built with Stencil.

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/sdpi-components@0.0.1/dist/sdpi-components.esm.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install sdpi-components --save
  • Put a script tag similar to this <script src='node_modules/sdpi-components/dist/sdpi-components.esm.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install sdpi-components --save
  • Add an import to the npm packages import sdpi-components;
  • Then you can use the element anywhere in your template, JSX, html etc
0.0.1

10 months ago