I need, that component <AlphabetSearch/> was on a page '/brands' or '/brand'. I try, but it does't work
<div v-if="brandsOrBrand">
<AlphabetSearch/>
</div>in script
computed: {
brandsOrBrand() {
return this.$route.fullPath == '/brands' || this.$route.fullPath == '/brand';
}<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1288">#c1288</a>)</em></sub></div>