nuxt/nuxt

pages patterns overlapping with server routes

Open

#25.709 aperta il 9 feb 2024

Vedi su GitHub
 (4 commenti) (6 reazioni) (1 assegnatario)TypeScript (5607 fork)batch import
good first issue🍰 p2-nice-to-have🛠️ dx

Metriche repository

Star
 (60.221 star)
Metriche merge PR
 (Merge medio 3g 7h) (114 PR mergiate in 30 g)

Descrizione

Context: @manniL / https://github.com/nuxt/nuxt/issues/25707

If there is a page pattern for rendering /foobar and also server/routes/foobar or (more commonly) a wildcard pattern, we shall warn users that it is happening.

Update: https://github.com/nuxt/nuxt/issues/25709#issuecomment-2345577725 We might alternatively think of a system that matches nuxt router to nitro with Nitro v3 Nuxt v4.

Guida contributor