vite-plugin-qrcode
March 25, 2026 ยท View on GitHub
Show QR code on server start.
Installation
npm install --save-dev vite-plugin-qrcode
Usage
// vite.config.js
import { qrcode } from 'vite-plugin-qrcode';
export default defineConfig({
plugins: [
qrcode() // only applies in dev mode
]
});
# start vite with host to show qrcode
vite --host
Packages
| Package | Changelog |
|---|---|
| vite-plugin-qrcode | Changelog |
Development
pnpm ito install dependenciespnpm devto run development buildpnpm testto run testspnpm buildto run build