Skip to content

T6001: Route conflict ​

Cause ​

Two page files map to the same route (blog.tess and blog/index.tess are both /blog; [id] and [slug] in one folder are the same shape). It is unclear which should win, so neither is routed.

Example ​

text
app/pages/blog.tess
app/pages/blog/index.tess

What you see ​

text
ERROR  T6001  app/pages/blog.tess:1:1
  Route conflict: blog.tess and blog/index.tess both map to "/blog".
  Keep one of them. A folder default is index.tess, so blog.tess and blog/index.tess clash.
  Run `tessera explain T6001` for details.

Fix ​

Keep one of them.

All errors and warnings