thasmo
thasmo
NNuxt
Created by thasmo on 4/10/2025 in #❓・help
Vue Router warning for valid server route
I've a server route configured at /server/routes/images/[...path].get.ts but when called in the frontend, I get these warnings in the terminal:
WARN [Vue Router warn]: No match found for location with path "/images/properties/photos/01JR5W6KCRXZ21CYE4HGTKEEV0"
To be clear, the called URL is a working URL and returns the image correctly in the frontend. Is this to be expected? Is there a way to disable the warning for this specific route?
5 replies
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