content icon indicating copy to clipboard operation
content copied to clipboard

Routing of index not working

Open woldtwerk opened this issue 3 years ago • 3 comments

Environment

  • Operating System: Linux
  • Node Version: v18.0.0
  • Nuxt Version: 3.0.0-rc.4
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: typescript, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Reproduction

pnpm dlx nuxi init content-app -t content pnpm install --shamefully-hoist pnpm run dev

Describe the bug

The routing doesn´t match / to index.md. It seems to use the first file alphabetically.

/ -> about.md image

rename about.md to zabout.md image

Additional context

No response

Logs

No response

woldtwerk avatar Jun 15 '22 18:06 woldtwerk

You might want to look at this issue: #1237 And to solve this you could use the edge version of nuxt content as suggested in this comment

nobkd avatar Jun 15 '22 20:06 nobkd

I think we can safely close this as a duplicate of #1237 👍

hacknug avatar Jun 27 '22 20:06 hacknug

Looks like this has been fixed in the edge-channel version. You can follow the instructions on this page to get the latest changes: https://content.nuxtjs.org/guide/migration/edge-channel

hacknug avatar Jun 30 '22 12:06 hacknug

might i suggest this to be push to the nuxi cli as well..

cpt-n3mo avatar Sep 03 '22 18:09 cpt-n3mo

Closing this because in favor of v2.1.0

farnabaz avatar Sep 13 '22 09:09 farnabaz