I am using Nuxt.js, and have a dymanic page which is defined under
pages/post/_slug.vue
So, when I visit the page url, say, http://localhost:3
Other answers are mostly enough, if you want to access route info inside apollo smart query:
apollo
apollo: { items: { query: jobsBy, variables() { return { clientId: this.$route.query.id } }, } }