Luckystriike
Luckystriike
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
With useFetch in the setup so the created
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
And in the nuxt config “runtimeConfig: { public: { DEBUG: process.env.DEBUG, ENCODERSTRING: process.env.ENCODERSTRING, ENCODERNUMBER: process.env.ENCODERNUMBER, BASEURI: process.env.NUXT_PUBLIC_BASEURI },”
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
Did something like this “ const config = useRuntimeConfig(); // data const item = ref<Equipment | null>(null); useSeoMeta({ ogTitle: () => ${item.value?.name} - Luckys crafting site, ogImage: () => ${config.public.BASEURI}/Icons/${item.value?.icon} + "?timestamp=" + Date.now(), ogDescription: () => { var string = ""; item.value?.materials.forEach(i => { string += ${i.amount}x ${i.name}, }) return string; }, ogImageWidth: 80, ogImageHeight: 80 })”
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
thanks for your help
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
Oke cool! will try
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
@Single Cool did a total rewrite and moved the init item outside the mounted function. Now it seems to work 💪
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
ow it is in the onbeforeMounted
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
let me check if there is another way :p
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
yeah mhh
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
in onMounted
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
but item.value is also loaded after mounted
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
but in the html view not
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
in the seo preview it is
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
yeah
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
well if by default it is enabled
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
oke
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
ssr would be better?
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
Don't know how do i check this 😛
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
nope
66 replies
NNuxt
Created by Luckystriike on 4/12/2024 in #❓・help
OGImage not showing
yeah
66 replies