We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Pass single entry to vue component

Jorn Wildenbeest September 29, 2020 by Jorn Wildenbeest

Hello, I am trying to pass a single entry to a vue component.

I tried this so far:

<location-card :locations = "{{ locaties  }}{{ locaties | to_json | sanitize }}{{ /locaties }}"></location-card>

<location-card :locations = "{{ locaties  }}{{ locaties:index | to_json | sanitize }}{{ /locaties }}"></location-card>

    <location-card :locations="{{ locaties:index | to_json | sanitize }}"></location-card>

But non of it seems to work..

Answered by Jorn Wildenbeest!
>>>>>>> Answered <<<<<<<
2 Replies