0

Hello I am trying to call a component with an object as parameter but the component prints the object as string "[object Object]". In the docs it specify object as an attribute type: https://marko-v4.github.io/docs/marko-json/

<vid-meta title=`${someObj}`/>

Thank you.

Jeremy
  • 79
  • 1
  • 6

1 Answers1

0

solved rather writing <vid-meta title="${someObj}"/> i wrote <vid-meta title=someObj />

Jeremy
  • 79
  • 1
  • 6