question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nuxt page routes are not getting rendered

See original GitHub issue

I have seen a somewhat similar issue #138 but I am not using Express but have chosen the Universal flavour. I have posted my project on Github: finadmin4u. This is a simple website with just four links: “/”, “/about”, “/projects”, and “/contact”. Here are my findings:

  1. yarn build followed by yarn start works fine and I can navigate between all links as expected
  2. yarn generate and publish to Netlify works fine as well when published. see here. However:
  3. yarn dev DOES NOT generate the “/about”, “/projects”, and “/contact” pages.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
manniLcommented, Apr 22, 2019

Also:

image

1reaction
manniLcommented, Apr 22, 2019

@madrus the codesandbox is actually doing yarn dev.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NuxtLink is updating route in nuxt 3 app, but not rendering ...
But, if I refresh or reload the updated route which was blank ago, then it's showing it's content normally. /pages/index.vue <template> <div> < ......
Read more >
File System Routing - Nuxt
File system routing. Nuxt automatically generates the vue-router configuration based on your file tree of Vue files inside the pages directory.
Read more >
Creating Server-side Rendered Vue.js Apps Using Nuxt.js
The solution to this is clever: Have a version of the framework/library on the server that can build a ready-to-display page. Then send...
Read more >
Nuxt.js cheat sheet - Christopher Kade
Before we get into anything concrete, let me explain what Nuxt.js is. ... Changing a page's head properties dynamically; SSR for dynamic routes...
Read more >
How To Use Server-Side Rendering with Nuxt.js - DigitalOcean
Unlike in a traditional Vue.js app, routes in Nuxt are not generated via a router file. Instead, they are generated from the pages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found