Ssr generate sitemap.xml

How to generate the sitemap.xml file for a project base on ‘vue-hackernews-2.0’ ? It’s a requirement for a SSR project.

How about this webpack plugin?

https://github.com/schneidmaster/sitemap-webpack-plugin#readme

1 Like

Thanks @LinusBorg

That worked beautifully !