thasmo
thasmo
NNuxt
Created by thasmo on 3/12/2025 in #❓・help
How to set custom HTTP headers for prerender requests at build time?
When pages get prerendered at build time, I need to set custom HTTP Headers for the prerender requests. More specifically, I am using nuxt-security to deny access to the application via basic auth which also denies access at build time for the prerendering requests. How can I ensure that prerendering requests (at build time) can access the application which is secured by basic auth? Is there a way to set auth headers when prerendering?
9 replies
NNuxt
Created by thasmo on 3/10/2025 in #❓・help
Configure default nuxt/icon icon-set to leave out prefix
Would it be possible to configure a default icon-set to be able to leave out the prefix:
<Icon name="search" />
Instead of:
<Icon name="prefix:search" />
5 replies