> Note this repo is for the components used in various Pictogrammers apps. If you are looking for icon related components for your own project look here: > > - [React](https://github.com/Templarian/MaterialDesign-React/) > - [Web Component](https://git
npm install @pictogrammers/componentssrc/pg folder to see the source.
bash
npm install
npm start
npm start [pgButton|pg-button, ...]
`
Open http://localhost:3000 (port could vary)
To build the components.
`bash
npm run build
`
Publish
This project does not use the normal npm publish. Always run the script to build individual components.
`bash
npm run publish
`
$3
Web Components with a very basic wrapper. The only magic is...
- @Prop() foo = 'Hello World;
- Calls this.render() on change.
- @Part() $foo: HTMLDivElement; =
- this.$part.innerText = 'Hello World!';
- @Local('store') foo = Map([['key', true]]);` Shorthand for localStorage.