javascript - Nextjs 用于 xml 站点地图的动态路由
问题描述
next.js 是否支持为 xml 站点地图提供动态路由?
[type]/[id].xml.js
events/swimming.xml
events/running.xml
events/racing.xml
...
解决方案
推荐阅读
- c# - 响应大小未知时通过 C# 调用 Node.js 服务
- java - 为什么 JAVA HashSet 在内部使用 HashMap?不浪费内存吗?
- ruby-on-rails - 错误响应 [9],找不到命令:rails s
- reactjs - Redux Forms 有时会以注册/注销无限循环结束
- sql - SQL 插入语句以将 SAS 日期传递给 MS Access DB
- c++ - 在线程中运行 lambda 时如何减少副本?
- ruby - 如何在静态数组中添加创建的对象?
- linux - Git结帐分支不起作用
- pdf - PDF-文本块可以包含 2 个或更多单词吗?
- git - 从 git 获取提交中行更改的详细信息的方法(即删除第 3 行,第 4 行变为第 3 行)