This is a simple lib to generate a qrcode with the link of your local React JS or any other framework, like View, Angular, that you can open on you phone to test.
1 - To install you first have to use: yarn add openmobile -D or npm i openmobile --save-dev
2 - Add it to you main package.json script: "scripts":{"openmobile": "openmobile"}
3 - Run on your command line the script, passing the port of where your app is runing(If it is running on port 3000, you dont need to inform the port on command line)
4 - Use your cellphone camera on the qrcode and it will give you the link of where you local app is running
Just add the --host flag in the "dev" script in you package.json: "dev": "vite --host"
Just pass the page route after the port, EG: "yarn openmobile 3000/admin/app"