Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

cosmolot-tile-test

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmolot-tile-test

Tile for Cosmolot app

latest
npmnpm
Version
0.1.20
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 26 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts