jaybird14
CDCloudflare Developers
•Created by jaybird14 on 10/23/2024 in #pages-help
Rookie question: adding function/wrangler.toml to existing project
Hey y'all, I'm trying to set up some projects so I can use an R2 bucket for assets per this tutorial: https://developers.cloudflare.com/pages/tutorials/use-r2-as-static-asset-storage-for-pages/
But I'm kinda stuck on how to set up wrangler/functions on an existing project? I know that to create a project in CLI you'd usually use
npm create cloudflare@latest
to initialize it and set up wrangler.toml but what if everything sorta already exists and you just want to add it on?2 replies