How set the meta tag og:image in nuxt

Hello guys how can i set my og:image meta tag in nuxt?
I have my immages in my folder assets/images and in my nuxt.config I’m using
{ property: 'og:image', content: "~/assets/images/share.png" || '' } ,
but is not working I tried also
{ property: 'og:image', content: "@/assets/images/share.png" || '' } , but also this is not working any help?

Please remember to let people now how its not working. What’s happening/not happening?

I presume that youi have to provide absolute paths relative to the /dist folder and put the fuiles in the /static folder, not /src/assets - the file paths are not handled by webpack, presumably.

As per the docs

<!-- Static image from static directory -->
<img src="/my-image.png"/>

<!-- webpacked image from assets directory -->
<img src="~/assets/my-image-2.png"/>

Where in nuxt.config are you trying your lines?

{ property: 'og:image', content: "~/assets/images/share.png" || '' } ,
// or
{ property: 'og:image', content: "@/assets/images/share.png" || '' }

Inside Head and meta