wszymanski
Nuxt Sitemap module does nothing
hi! I followed https://nuxtseo.com/sitemap/getting-started/installation steps and after viewing /sitemap.xml , I just get redirected to 404 page. I get exactly the same results if I comment the module out in nuxt.config, whether I provide more config
sitemaps: { sitemaps: ... } }
. All I get is nothing, nothing works.
Is there some obvious configuration missing from this documentation page?
My versions:
My nuxt.config:
So, when loading my app at localhost:3000/sitemap.xml
, I land on localhost:3000/en/sitemap.xml
with 404 template. Help me, please.20 replies
Loading fonts in CSS file, when Nuxt is server with router.base path
Hello! I am using Nuxt 2 in larger set of websites, with router.base property adding a /something suffix to the main domain. Everything seems to work fine, most static files apart from... fonts loaded in CSS. The code example below tries to GET via domain.com/_nuxt, excluding the base path from nuxt.config, thus hitting 404. Anyone came across this issue and knows how to solve?
src: url('~assets/fonts/font-light.woff2') format('woff2');
1 replies