crn-local-qrcode
v1.0.18
Published
本地二维码生成器
Downloads
5
Readme
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侧二位码