-
Neuber, Eugen Ramon authored
See issue #31
Neuber, Eugen Ramon authoredSee issue #31
README.md 822 B
Provider Web Component
Usage
<provider></provider>
Attributes
-
init
(optional): set your vars to values- example
<provider init="foo=bar"></provider>
- example
-
id
(optional): set an id, useful for debugging- example
<provider id="p-1"></provider>
- example
Local development
# get the source
git clone git@gitlab.tugraz.at:dbp/web-components/toolkit.git
cd toolkit/packages/provider
# install dependencies (make sure you have npm version 4+ installed, so symlinks to the git submodules are created automatically)
yarn install
# constantly build dist/bundle.js and run a local web-server on port 8002
yarn run watch
# run tests
yarn test
Jump to http://localhost:8002 and you should get a demo page.