【问题标题】:Nextjs different slug names for the same dynamic path [closed]Nextjs相同动态路径的不同slug名称[关闭]
【发布时间】:2022-02-04 04:34:53
【问题描述】:

这是我的 nextjs 应用程序的文件夹结构,我收到此错误:Failed to reload dynamic routes: Error: You cannot use different slug names for the same dynamic path ('_Id' !== 'id').

有人可以解释我在这里做错了什么吗?

【问题讨论】:

    标签: javascript reactjs routes next.js


    【解决方案1】:

    好的,在浪费了 1 小时后,我杀死了服务器并重新运行它。现在一切都好。

    【讨论】:

      猜你喜欢
      • 2020-06-19
      • 1970-01-01
      • 2010-11-13
      • 2013-02-16
      • 2021-08-24
      • 1970-01-01
      • 1970-01-01
      • 2016-12-28
      • 1970-01-01
      相关资源
      最近更新 更多