Oak
How to use Deno KV when deploying Next.js to Deno Deploy?
I do not see a straightforward way to use Deno KV inside a Next.js project deployed to Deno Deploy:
-
Deno.openKv()
won't work -> Deno is not found.
- import { openKv } from "@deno/kv"
+ await openKv("URL")
won't work either -> The Next.js app just won't build with this dependency.
Am I missing something?3 replies