1.0.18 • Published 3 years ago

crn-local-qrcode v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

description

auto get local ip and use it to generate a qrcode with the text like

http://172.19.106.15:5389/index.ios.bundle?CRNModuleName=rn_chartered&CRNType=1&initialPage=Test

install

npm i --save-dev crn-local-qrcode

usage

In package.json

{
    "scripts": {
        "start": "crn-cli start && crn-local-qrcode --port 5389 --module-name rn_chartered --initial-page list",
    }
}

options

  • -p, --port 端口设置
  • -n, --module-name moduleName设置
  • -i, --initial-page initialPage设置
  • -app 生成唤起app内package的二维码(此二维码会调用已经安装在app中的package,而不是本地的)
  • -q, --q 生成Qunar侧二位码
1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago