@everymatrix/retail-markets
v1.21.38
Published
--------- ## Quick start --------- - import script ``` <script src="https://unpkg.com/@everymatrix/retail-markets/dist/retail-markets.js"></script> ``` - add widget to dom ``` <retail-market src=":apiEndpoint" marketid=":marketId" name=":n
Downloads
452
Maintainers
Keywords
Readme
@everymatrix/retail-markets
Quick start
- import script
<script src="https://unpkg.com/@everymatrix/retail-markets/dist/retail-markets.js"></script>
- add widget to dom
<retail-market src=":apiEndpoint" marketid=":marketId" name=":name"></retail-market>
- example:
<retail-market src="https://demo-api.stage.norway.everymatrix.com/v1/sports/" marketid="145952959270801408_47_6" name="matchbet"></retail-market>
First step
lerna bootstrap
Run Widget
- starts server at port 5050
- has livereload
yarn run dev
Build Widget
yarn run build
Publishing widget
- Note add your user to the npm
lerna publish