sportslotto-tile-test

0.1.20 • Public • Published

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.

Customize configuration

See Configuration Reference.

Readme

Keywords

none

Package Sidebar

Install

npm i sportslotto-tile-test

Weekly Downloads

0

Version

0.1.20

License

none

Unpacked Size

1.7 MB

Total Files

9

Last publish

Collaborators

  • damfinkel
  • mrodriguez-litebox