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

183
Views
NuxtJs Url changes but page no

The NuxtJs app works well with javascript enabled in the localhost and in the server, but I am trying to make it work with Javascript disabled.

I switch to SSR mode, in localhost I can browse all the pages (without javascript) but when I deploy it to the server with npm run build works well with javascript enabled but when I disabled it, the URL changes but the page is reloaded in the home page (no change on the content).

Here is a Github repo of an example: Nuxt App Github repo

Preview of this repo: Preview of the nuxt app

Here is what I get on Network inspector when I try to access for example to Brands page:

enter image description here

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You need to see [YOUR-PROJECT]/.nuxt/router.js file of your project which is auto-generated routing. In this file you can find your auto-generated route urls and names. And in nuxt-link, please use route name instead path.

Further information -> https://nuxtjs.org/guide/routing/#basic-routes

also add watchQuery

export default {
 watchQuery: ['page', 'order', 'q']
}
about 4 years ago · Juan Pablo Isaza Report

0

Am using Nuxt 2 and the issue was I was using the fragment npm package on my layouts. After swapping the fragment component with an HTML element e.g. section, nuxt-link now works like a charm.

nuxt-link requires you have only a single parent. But fragment was commenting on the actual DOM. Check your default layout and make sure you are using a single parent.

about 4 years ago · Juan Pablo Isaza Report
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!