@bearer/authentication-setup
Bearer authentication setup components
Last updated a year ago by antoine.apizi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bearer/authentication-setup 
SYNC missed versions from official npm registry.

Built With Stencil

Bearer authentication setup web components

@bearer/authentication-setup helps you integrate a bearer setup form in one minute, so that you don't have to re-implement it over and over. It is published as a Web Component with the help of Stencil.

It is:

  • customizable to match the design of your website (through CSS or CSS variables)
  • easy to integrate (script tag or node modules)
  • easy to use (property-based configuration)
  • works with JavaScript frameworks: React, Vue, Angular

You'll find some examples within the examples folder

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src='https://unpkg.com/@bearer/authentication-setup@latest/dist/bearer-setup.js'></script> in the head of your index.html
  • You can now use the element anywhere in your template: JSX, HTML, etc

Node Modules

  • Run npm install @bearer/authentication-setup --save
  • Put a script tag similar to this <script src='node_modules/@bearer/authentication-setup/dist/@bearer/authentication-setup.js'></script> in the head of your index.html
  • You can now use the element anywhere in your template: JSX, HTML, etc

Note: some bundlers needs to be configured to allow lazy loading of this web component. More information here: https://stenciljs.com/docs/overview

In a stencil-starter app

  • Run npm install @bearer/authentication-setup --save
  • Add an import to the npm packages import @bearer/authentication-setup;
  • You can now use the element anywhere in your template: JSX, HTML, etc

Getting Started

git clone https://github.com/Bearer/authentication-setup.git 

and run:

yarn install --frozen-lockfile
yarn start

To build the component for production, run:

yarn build

To run the unit tests for the components, run:

yarn test

Current Tags

  • 1.0.0                                ...           latest (a year ago)

6 Versions

  • 1.0.0                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |