0๐
โ
I solved the problem, the HeaderBar part is correct FooterBar part was not working. Did the same as I did with the HeaderBar, and it was working. Also did not notice on deployment the route changes from โ/pageโ to โ/โpage/โ.
0๐
Try replacing this.$route.path
with this.$nuxt.$route.path
.
Also I would suggest to write it like so:
this.FooterHide = this.$nuxt.$route.path === '/page' ? false : true
or even
this.FooterHide = this.$nuxt.$route.path !== '/page'
Source:stackexchange.com