мне нужно создать условие, что если мы переходим на страницу '/brands' или '/brand'.
<div v-if="brandsOrBrand">
//условие
</div>
script
computed: {
brandsOrBrand() {
return this.$route.fullPath == '/brands' || this.$route.fullPath == '/brand';
}
P.S. computed без function() т. к. использую nuxt js