Get query parameters in Nuxt
Read the GET request query parameters in your code.
You can access them under the $route.query
property.
For example a request to localhost:3000/list?client=3
would be:
this.$route.query.client
Read the GET request query parameters in your code.
You can access them under the $route.query
property.
For example a request to localhost:3000/list?client=3
would be:
this.$route.query.client