naourass
Explore posts from serversCDCloudflare Developers
•Created by naourass on 3/27/2024 in #pages-help
Remix local dev with hot reload and resource binding
I'm using the remix template (vite compiler) to develop a pages project locally. I can't find how to add bindings to D1 or KV so I can simulate them locally with live reload support.
I read that
cloudflareDevProxyVitePlugin
set up some proxies for that but not sure how that works. Should I run both wrangler pages dev
and remix vite:dev
? Should I add some watch
command?
Any help will be appreciated. Thanks!8 replies