envizar
envizar
NNuxt
Created by envizar on 1/25/2025 in #❓・help
NuxtImg not working in development
@kapa.ai none of these worked
15 replies
NNuxt
Created by envizar on 1/19/2025 in #❓・help
Sites does not see my meta like ogDescription and my favicon
no, I just removed it till fix didn't have time to open issue
24 replies
NNuxt
Created by envizar on 1/19/2025 in #❓・help
Sites does not see my meta like ogDescription and my favicon
@kapa.ai pnpm build finishes, it shows me You can preview this build using node .output/server/index.mjs, but I need to manually hit Ctrl+C to finish it
24 replies
NNuxt
Created by envizar on 1/19/2025 in #❓・help
Sites does not see my meta like ogDescription and my favicon
@kapa.ai pnpm build does not finish if I enable pregenerating
24 replies
NNuxt
Created by envizar on 1/19/2025 in #❓・help
Sites does not see my meta like ogDescription and my favicon
@kapa.ai Could not load @nuxtjs/sitemap. Is it installed? it's installed. why?
24 replies
NNuxt
Created by envizar on 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
finally fixed
27 replies
NNuxt
Created by envizar on 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
@kapa.ai
runtimeConfig: {
LOADED_MESSAGE: process.env.LOADED_MESSAGE || 'NOT LOADED'
}
runtimeConfig: {
LOADED_MESSAGE: process.env.LOADED_MESSAGE || 'NOT LOADED'
}
I am trying to start server with node --env-file='.env' server/index.mjs my .env
LOADED_MESSAGE=LOADED
LOADED_MESSAGE=LOADED
and it prints that useRuntimeConfig().LOADED_MESSAGE is NOT LOADED
27 replies
NNuxt
Created by envizar on 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
@kapa.ai Can't access values from useRuntimeConfig() from /server/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 /server/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 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
@kapa.ai
defineNuxtPlugin is not defined
defineNuxtPlugin is not defined
import {defineNuxtPlugin} from "nuxt/app";

export default defineNuxtPlugin(nuxtApp => {
import {defineNuxtPlugin} from "nuxt/app";

export default defineNuxtPlugin(nuxtApp => {
27 replies
NNuxt
Created by envizar on 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
@kapa.ai Vue: Cannot find name defineNuxtPlugin. Did you mean defineNitroPlugin?
27 replies
NNuxt
Created by envizar on 1/18/2025 in #❓・help
Can't access values from useRuntimeConfig() from /plugins
Vue: Cannot find name defineNuxtPlugin. Did you mean defineNitroPlugin?
27 replies
NNuxt
Created by envizar on 6/17/2024 in #❓・help
nuxt content: document not found
Btw thanks for explaining why it works like this maybe I can just place somewhere all links to all pages with display none 🤔
20 replies
NNuxt
Created by envizar on 6/17/2024 in #❓・help
nuxt content: document not found
Why it can't just recursively loop all files in content folder
20 replies
NNuxt
Created by envizar on 6/17/2024 in #❓・help
nuxt content: document not found
Btw I want some pages to be accessible via url, but not from other pages
20 replies
NNuxt
Created by envizar on 6/17/2024 in #❓・help
nuxt content: document not found
On dev server everything is ok I think it's a kind of annoying optimization, not referenced md files just ignored when building for production But idk how to turn this off
20 replies
NNuxt
Created by envizar on 6/17/2024 in #❓・help
nuxt content: document not found
It only happens when I use nuxi generate and npx serve .output/public
20 replies