1.0.18 • Published 4 years ago

crn-local-qrcode v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago