Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
Nuxtjs not grabbing query params

I have the following url: localhost:8080/account/reset-password?c=525448&g=usr&u=144c4c8e-5bf1-454f-a863-20c4ee149865 and am trying to grab the query parameters using Nuxtjs.

Within nuxt it seems like there is a $router object that can be used as const queryParams = this.$route.query but when I log out queryParams its an empty object.

I have also gone into the the browser console and tried

const urlSearchParams = new URLSearchParams(window.location.search);
const params = Object.fromEntries(urlSearchParams.entries());
console.log(params) // returns Object {  }

what am I doing wrong? I would expect there to be an object

{
  c: 525448
  g: usr
  u: 144c4c8e-5bf1-454f-a863-20c4ee149865
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!