Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 Angular 2 在 sitemap.xml 中创建动态 URL?我尝试过使用 npm 站点地图包。但我无法创建 sitemap.xml。谁能告诉如何在 Angular 2 中创建动态网址?
更好的解决方案是使用自己创建的 nodejs worker 动态生成站点地图。Nodejs可以在系统中写入文件并且生成文件非常简单。