NuxtN
Nuxt16mo ago
5 replies
Dull Object Specialist

Nuxt Content - Navigation not rendered properly to generated static site

I have a few pages in the /content tree

/content/index.md
/content/folder1/index.md
/content/folder1/other.md

I marked the index.md pages wit
navigation:
  title: Home | folder 1


And the following code in my app.vue
```
When I run in dev mode all gets nicely rendered into a menu `Home    folder 1`. 

However when I generate and serve with a webserver the menue ignores my CSS and renders as a tree

-- Home
+-- Home
+- folder 1
+-- folder 1
+-- other
```

Why the difference? Is there any setting I'm missing?
Was this page helpful?