I want to output a hyperlink from an object. Is it possible to do so?
I currently have this in my store.js, would like to use this info to output
it in a modal on my website. I got it to display it, but the a href is outputting as text.
Checked this, but none of these solutions worked for me: Adding hyperlink in Javascript array of objects
export default {
photos: [
{
name: "fox1",
image: "fox01.jpg",
id: 1,
header: "Photoshoot with Fox Apparel",
description:
"Photoshoot with " +
'<a href="https://fox.jp/" target="_blank">Fox</a>' +
", a sustainably - driven e - retailer from Canada."
}
]
}