anand248
anand248
Explore posts from servers
CDCloudflare Developers
Created by anand248 on 10/13/2024 in #workers-help
Which library do you use to generate pdf at worker side?
I tried jspdf, pdfmake, but they are giving module related errors.
2 replies
CDCloudflare Developers
Created by anand248 on 10/12/2024 in #workers-help
I am trying to add a new binding for R2 after deploying my application on cloudflare in wrangler.tom
, but my pages functions are not picking these newly added bindings and not showing up on settings tab. It doesn't allow me to edit it saying, this project's binding is managed by wrangler.toml, I did add R2 binding on my wrangler.toml. I think, due to this my c.env.MY_BUCKET is coming as undefined at run time.
2 replies
CDCloudflare Developers
Created by anand248 on 9/29/2024 in #pages-help
Developing a new application using template - https://github.com/yusukebe/cloudflare-d1-drizzle-hono
I am adding auth flows using Lucia to above template which uses D1, Drizzle & Honox. I am using pages. My major problems are around common js modules. I want to use "Resend" library to send emails. IT runs fine once deployed but locally when I run the application using "vite" it gives commonjs related errors, I am trying to fix them with Vite.config.ts and @originjs/vite-plugin-commonjs but no success till now. Another option is to run the app using npx wrangler pages dev but it gives error around D1 access. Did you experience same problems ?
3 replies
CDCloudflare Developers
Created by anand248 on 9/26/2024 in #pages-help
daisy ui styles not applying on cloudflare built deployment
I built cloudflare pages app (using this template https://github.com/yusukebe/cloudflare-d1-drizzle-honox-starter/blob/main/README.md ) , and added daisy UI. My tailwind css styles are being applied, but not daisy UI. any clue?
2 replies
CDCloudflare Developers
Created by anand248 on 9/4/2024 in #workers-help
Since worker size limit is 1 MB, i reckon a typical web application must have multiple workers
Do you know any open source template which demonstrate how multiple workers sit along with single frontend react app. If it has sample auth setup , that'd be great.
5 replies