You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the default provided component and customize it, just had a few questions:
when using saydefineOgImageComponent("myCustomOG") in a component it will know to search for ./components/OgImage/myCustomOG.vue automatically? Is that how it works?
The documentation states to copy src/runtime/nuxt/components/Templates/Community/NuxtSeo.vue into your project and customize from there, I see there are relative imports here, for example import { useOgImageRuntimeConfig } from '../../../../shared' <- will this break after copying? I assume so. How should this be handled?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there 👋
I would like to use the default provided component and customize it, just had a few questions:
when using say
defineOgImageComponent("myCustomOG")
in a component it will know to search for./components/OgImage/myCustomOG.vue
automatically? Is that how it works?The documentation states to copy
src/runtime/nuxt/components/Templates/Community/NuxtSeo.vue
into your project and customize from there, I see there are relative imports here, for exampleimport { useOgImageRuntimeConfig } from '../../../../shared'
<- will this break after copying? I assume so. How should this be handled?Beta Was this translation helpful? Give feedback.
All reactions