I have an endpoint coming from the backend containing HTML content. I want to use the endpoint in the meta tag of the HTML head using nuxt. I have this error on the console when I try to output what I have Error from output
Below is my code: Code snippet and this is coming from the backend Data from endpoint
Nuxt head (meta) looks like this:
You are trying to use a string of concatenated meta tags from your backend which will not work. You'll have to convert the string into an array of objects and use it as per the image above.
When the page is rendered in the browser, the meta tags will be formatted properly (as regular HTML meta tags).