laurent lahmy
laurent lahmy
Really worth updating the documentation! I just wasted hours on this. https://github.com/pmndrs/drei/pull/2021
getRequestContext() works for local dev, (process.env as any).DB works when deploying ``` import * as schema from "@/db/schema/schema"; import { getRequestContext } from "@cloudflare/next-on-pages"; import { drizzle } from "drizzle-orm/d1";...
Sorry for the delay. My confusion came from reading the docs here https://developers.cloudflare.com/pages/framework-guides/nextjs/deploy-a-nextjs-site/#top-level-getrequestcontext > The getRequestContext function cannot be called at the top level of a route file or in...
Custom styling could be the answer but custom styling docs are still [TODO](https://github.com/pmndrs/leva/blob/main/docs/styling.md). Any pointers welcome!
In your css: ```css :root { --leva-sizes-rootWidth: 500px !important; } ```