thasmo
thasmo
NNuxt
Created by thasmo on 3/12/2025 in #❓・help
How to set custom HTTP headers for prerender requests at build time?
@kapa.ai, "Configuring Nitro directly" I cant fint this in the Nitro docs.
9 replies
NNuxt
Created by thasmo on 3/10/2025 in #❓・help
Configure default nuxt/icon icon-set to leave out prefix
Didn't find a configuration option, but I managed to wrap the icon component in a custom component like this:
<script setup lang="ts">
import { computed } from '#imports';

const { name } = defineProps<{
name: string;
}>();

const prefixedName = computed(() => `ri:${name}`);
</script>

<template>
<NuxtIcon :name="prefixedName" />
</template>
<script setup lang="ts">
import { computed } from '#imports';

const { name } = defineProps<{
name: string;
}>();

const prefixedName = computed(() => `ri:${name}`);
</script>

<template>
<NuxtIcon :name="prefixedName" />
</template>
5 replies
CDCloudflare Developers
Created by Keiran on 6/22/2023 in #general-help
Pages root caching issue?
Oh, sure. Sorry, I thought I wouldn't pollute with a new thread, but I will. Thanks!
14 replies
CDCloudflare Developers
Created by Keiran on 6/22/2023 in #general-help
Pages root caching issue?
I've the exact same problem. Using Remix and it seems Cloudflare responds with a stale/old HTML version, but only for some requests randomly. Purged the CF cache several times; can't figure out where the old HTML is coming from. 🤔
14 replies