nuxt-community / sitemap-module

Sitemap Module for Nuxt 2
https://sitemap.nuxtjs.org
MIT License
689 stars 127 forks source link

No XML sitemap generated #209

Closed ManasMadrecha closed 3 years ago

ManasMadrecha commented 3 years ago

Version

^2.4.0

Reproduction link

https://github.com/jainism-portal/jainaagam/blob/6f3d7c3befb11b6ef4d394a74a96cefe7fd80ea9/nuxt.config.js#L144

Steps to reproduce

  1. install nuxt sitemap and nuxt content modules
  2. Use the code given on https://content.nuxtjs.org/integrations/#nuxtjssitemap website.
  3. Check the reproduction link.

What is expected ?

To see at least some XML related tags.

What is actually happening?

The current sitemap being generated is showing just a huge ugly list of URLs without any tags or spacing.

Screenshot 2021-06-12 060542 Jain Aagam sitemap issue.png

This bug report is available on Nuxt community (#c144)
ManasMadrecha commented 3 years ago

Found this:

https://stackoverflow.com/questions/61969900/nuxt-sitemap-not-working-properly-when-used-with-nuxt-i18n

It says it's only the browser issue, because in viewsource, you can see the tags and all properly. 😊✅

NicoPennec commented 3 years ago

@ManasMadrecha yes, it's a browser rendering issue. That my answer on Stackoverflow 😉