Static GitHub Issues

[1446] Use ||(or) in v-if

prev: with nested to nested route , the second is invalid
next: How should I use 'vue.config.errorHandler' with nuxtjs?

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>