Skip to content

yaeda/server-qr-code

Repository files navigation

server-qr-code

Shows QR code of server url.

standalone screenshot

Installation

npm install --save-dev server-qr-code

Usage

standalone

npx server-qr-code

with Next.js

"scripts": {
+ "predev": "server-qr-code",
  "dev": "next dev",
  "build": "next build",
+ "prestart": "server-qr-code",
  "start": "next start",
  "lint": "next lint"
},

with Next.js

If you're using Vite, you should use vite-plugin-qrcode.

Options

Options are the same as next dev and next start.

Options
  --port, -p      A port number (default: 3000)
  --hostname, -H  Hostname
  --help          Displays this message

License

MIT

About

Shows QR code of server url

Resources

License

Stars

Watchers

Forks

Packages

No packages published