Como ruta estoy usando algo como esto:
<router-link to="/gallery" ><i>{{webData.clickForMore}}</i><p>→</p></router-link>Entonces, estoy tratando de lograr que el usuario navegue haciendo clic en la ruta y navegue por la ruta pero en el filtro específico.
Este es el código que se utiliza para seleccionar un filtro específico (que se encuentra en el otro archivo de Vue):
async filterImages (blockNumber) { this.isReadyImg = this.nextImageState = false; this.isFilterActive = true; this.$store.commit('setGalleryFilterNumber', blockNumber); this.filteredImages = await this.$store.getters.getGalleryFilter; /*console.log(this.filteredImages)*/ this.currImg = this.filteredImages[1]; if (this.isFunction(this.currImg.src)) { let index = await this.$store.dispatch('getIndexOfImage', this.currImg); this.$store.commit('setGalleryIndex', index); await this.getImageSource(); } else this.isReadyImg = true; let e = event.target; this.setActiveFilter(e); }, ¿Se puede hacer esto sin usar una ruta dinámica, tal vez se pueda hacer usando v-for ?