create-rspeedy-canary
Version:
Create Rspeedy-powered ReactLynx apps with one command
17 lines (14 loc) • 436 B
JavaScript
import { defineConfig } from '@lynx-js/rspeedy'
import { pluginQRCode } from '@lynx-js/qrcode-rsbuild-plugin'
import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin'
export default defineConfig({
plugins: [
pluginQRCode({
schema(url) {
// We use `?fullscreen=true` to open the page in LynxExplorer in full screen mode
return `${url}?fullscreen=true`
},
}),
pluginReactLynx(),
],
})