Bulbasaur
Bulbasaur
Explore posts from servers
CDCloudflare Developers
Created by Bulbasaur on 3/29/2025 in #pages-help
Add Last-Modified header to Pages?
Hi, my cloudflare R2 bucket serves Last-Modified headers and and ETag. For sitemap.xml generation, Last-Modified is very useful to accurately generate get "whenever the ETag last changed". Is it possible to enable cloudflare to do so? The pages build already has the knowledge of "which assets changed" and which didn't, so it seems like it should be able to.
1 replies
NNuxt
Created by Bulbasaur on 5/4/2024 in #❓・help
Typesafe Wrapper Components?
Hi, I’m curious how you guys create typesafe wrapper components around library components like in Nuxt UI. I saw the example DatePicker wrapped in the Nuxt UI docs, for example, doesn’t actually setup typesafe attrs for it, even though it passes the attrs through… In React this is really easy through just extending the type of the base component prope, but I’m not sure how I’d do the same in Nuxt/Vue, particularly because defineProps is stringent with the kind of types it can interpret.
1 replies