envizar
envizar
NNuxt
Created by envizar on 2/3/2025 in #❓・help
prerender only after data loads
I load data on server side of my nuxt app. But on nuxt generate data just don't load before route rendering. How to wait for data to load and prerender routes only after this?
5 replies
NNuxt
Created by envizar on 1/25/2025 in #❓・help
NuxtImg not working in development
/_ipx/... just returns 404 content page I have [...slug].vue, maybe it's causing issues How to fix? after nuxi generate everything works fine
15 replies
NNuxt
Created by envizar on 1/19/2025 in #❓・help
Sites does not see my meta like ogDescription and my favicon
nuxt.config.ts
...
ssr: false,
...
...
ssr: false,
...
app.vue
...
useSeoMeta({
ogTitle: "MySite",
ogDescription: "Description of my site",
ogType: "website"
})
...
...
useSeoMeta({
ogTitle: "MySite",
ogDescription: "Description of my site",
ogType: "website"
})
...
why?
24 replies
NNuxt
Created by envizar on 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
Can't access values from useRuntimeConfig() from /plugins
runtimeConfig: {
LOADED_MESSAGE: process.env.LOADED_MESSAGE,
}
runtimeConfig: {
LOADED_MESSAGE: process.env.LOADED_MESSAGE,
}
And I can't access it from useRuntimeConfig().LOADED_MESSAGE from /plugins/plugin.ts:
export default defineNitroPlugin(() => {
const config = useRuntimeConfig()

// logs nothing
console.log(config.LOADED_MESSAGE)
}
export default defineNitroPlugin(() => {
const config = useRuntimeConfig()

// logs nothing
console.log(config.LOADED_MESSAGE)
}
27 replies
NNuxt
Created by envizar on 6/17/2024 in #❓・help
nuxt content: document not found
Any .md file I haven't referenced in index.md returns Document not found Btw when I use pnpm dev -o, everything works as expected
20 replies