const breadcrumbItems = [ { title: util.title(category), to: `/${category}`, disabled: false }]if (slug && slug.length) { breadcrumbItems.push({ title: util.title(slug[0]), to: `/${category}/${slug[0]}`, disabled: false })}</script><template> <v-breadcrumbs :items="breadcrumbItems" /></template>
References: