Things like /objects?page=2.
When doing:
async data ({ params }) {
try {
let BASE_URL = `http://localhost:8080/api/v1/nations`
const { data } = await axios.get(BASE_URL)
return {
currentPage: data.currentPage,
nations: data.data
}
} catch (e) {
console.error(e)
}
}I'm not sure how to access the this.$route.query.page.
this is undefined and params doesn't hold any query data, just the id i believe.