A simple use case example using CloudFlare platform as the backend for a SPA made developed Vue 3 in Vite.
npm installnpm run pages:devConsidering you have already installed wrangler and did log in into your CloudFlare account using wrangler login.
npm run pages:deployIn order that functions to be able to reach a CloudFlare KV, you would need to bind it like explained here: https://developers.cloudflare.com/pages/functions/bindings/, in this project we bound with namespace kv, as it was used env.get(publickey).