<template v-for="article in articles">
<article
v-if="article.category.name == data.name"
:key="article.id"
class="article-thumb"
>
let articlesGroups = articles.reduce((articles, item) => {
let article = (articles[item.category] || []);
article.push(item);
articles[item.category] = article;
return articles;
}, {});