sportslotto-tile-test
v0.1.20
Published
Tile for Cosmolot app
Downloads
16
Readme
Sports Lotto App Tile
Tile WebComponent to initialize Sports Lotto app.
Clients
Installation
npm install @sports-lotto-tile/client
Replace client
with the client's package
Importing the WebComponent
Add the following line in your index.html
under the <head>
tag:
<script src="https://unpkg.com/vue"></script>
After that, you can import the component anywhere:
import "sports-lotto-tile-test/dist/client-lotto-tile"
Usage
<client-lotto-tile
external-token="token"
auth-provider="Regular"
lang="EN"
env="staging"
></client-lotto-tile>
Props
- external-token: Only use this prop when the parent app has an external login process.
- auth-provider: Name of the application if the app has external login, else "Regular"
- lang: Language of the Tile
- env: Environment. Possible values are
local
,staging
,production
Development
Commands
- Build:
npm run wc-build-tile client
- Serve:
npm run serve client
- Publish
npm run wc-publish
Important: Do not publish with npm publish
. Our command validates the correct npm package name. This is important so a client tile is not published in another client's NPM package.