Почему список не выводится?
new Vue({
el: " #popup-modal",
data() {
return {
listItem: [
{
title: 'text 1',
object: [
{ name: '1', link: '#' },
{ name: '2', link: '#' },
{ name: '3', link: '#' },
]
},
{
title: 'text 2',
object: [
{ name: '1', link: '#' },
{ name: '2', link: '#' },
{ name: '3', link: '#' },
]
}
]
}
},
template: `
<div id="popup-modal" class="hidden">
<template v-for="item in listItem" :key="item.id">
<div>
<h3>{{ item.title }}</h3>
<ul>
<li v-for="{name, link} in listItem.object"><a :href="link" :title="name" target="_blank" rel="norefferer noopener">{{ name }}</a>
</li>
</ul>
</div>
</template>
</div>
`
})