Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

262
Views
How can I use html content in meta data of the head in nuxt

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

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Nuxt head (meta) looks like this:

enter image description here

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).

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!