Currently, I'm doing a website which repertories events organized my friend's music label. But I've encountered a problem while trying to make an "archiving automation". Using that code below is not working. My "articles" are still visibles on the blog page.
Here's what I've tried (it's working with a v-if on my nuxt-link, but not with a v-show). The reason why I don't use a v-if is that my links are still clickable, but not visible.
<div
class="article"
v-for="article in articles"
:key="article.slug"
v-show="dateNow < article.eventDate">
Here's my condition in my JS (not important but I prefer to show you guys)
data() {
return {
dateNow: new Date().toISOString()
};
},