我正在使用 next.js 构建一个静态站点,并且我希望我website.com/about.html的工作方式如下:website.com/about- 我不确定为什么它强迫我输入.html.
website.com/about.html
website.com/about
.html
即使我构建了我的项目:pages/about/index.js- 它会在静态站点上生成一个about.html而不是about/index.html。
pages/about/index.js
about.html
about/index.html
next.js
next.js ×1