0.0.5 • Published 5 years ago

umi-plugin-qrcode v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

umi-plugin-qrcode

NPM version npm peer dependency version

Output which address your umi-app is running at with qrcode in terminal.

template

Usage

Install

yarn add umi-plugin-qrcode --dev

Configure in .umirc.js,

export default {
  plugins: [
    ['umi-plugin-qrcode', options],
  ],
}

Options

small: boolean

default true Size of qrcode is smaller or not.

once: boolean

default true Output qrcode at first time of onDevCompileDone or every times.

outputFormat: (originString: string) => string Customize output, support version 0.0.5, e.g:

{
  outputFormat: (url) => `${url}#/?name=tom`
}

LICENSE

MIT

Thanks

  1. address
  2. qrcode-terminal
0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago