@rayvision/qrcode-login
TypeScript icon, indicating that this package has built-in type declarations

0.1.75-beta • Public • Published

说明

import { QRCodeLoginControl } from '@rayvision/qrcode-login';

const control = new QRCodeLoginControl({
  // 要渲染二维码的img id
  qrCodeContainerId: 'qr-code',
})
// 当img挂载到DOM后
control.init()

开发

  1. 在依赖sso-project-configsso-ui下执行yarn build yarn start
  • yarn build 将打包后的dist作为qrcode-login的依赖包
  • yarn start 监听对应包的更改,产出最新的dist
  1. qrcode-login根目录下执行yarn start

  2. qrcode-login/example安装依赖并执行yarn start

Readme

Keywords

none

Package Sidebar

Install

npm i @rayvision/qrcode-login

Weekly Downloads

2

Version

0.1.75-beta

License

MIT

Unpacked Size

595 kB

Total Files

36

Last publish

Collaborators

  • liver_liuzijie
  • rd_linying
  • helmy_l
  • fanghaoming
  • huyurun
  • jim1874
  • elyongwj
  • kitsch