I've been working on a Vue.js app that includes a tagging feature. I'm looking to implement URL parameters like where users can add tag_ids by interacting with the UI.
Although I've successfully managed to update the tag_ids within the app, I also want them to reflect in the browser's URL so that when shared, it appears the same for other users. Currently, I am utilizing vue-router and attempting to append the tag_ids to the query string without triggering a new route in the path. I've experimented with methods such as:
this.$router.push({ path: '/', tag_ids: this.selectedTagIds })
and
this.$router.replace({ path: '/', tag_ids: this.selectedTagIds })
However, these solutions aren't producing the desired outcome. Does anyone know how to manipulate the query parameters using this.$router?