next-turbopack-qr-plugin
v1.0.4
Published
Simple Next-Turbopack plugin that displays a QR code on the console for easy local development
Maintainers
Readme
next-turbopack-qr-plugin
Prints a QR code in the terminal when you run next dev so you can open the local server on your phone.
Install
npm install next-turbopack-qr-pluginUsage
// next.config.ts
import { withLocalQR } from "next-turbopack-qr-plugin";
export default withLocalQR({
// ...your config
});Options
withLocalQR(nextConfig, {
port: 3000, // default: process.env.PORT or 3000
silent: true, // disable output
})License
MIT
