Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sitemap is empty when only app.vue format is used and the pages directory is non-existent #255

Closed
idorenyinudoh opened this issue Jun 19, 2024 · 3 comments

Comments

@idorenyinudoh
Copy link

Describe the bug

Screenshot 2024-06-19 at 15 31 48 Screenshot 2024-06-19 at 15 32 37

Reproduction

No response

System / Nuxt Info

- Operating System: Darwin
- Node Version:     v18.18.0
- Nuxt Version:     3.11.2
- CLI Version:      3.11.1
- Nitro Version:    2.9.6
- Package Manager:  [email protected]
- Builder:          -
- User Config:      devtools, modules, colorMode, runtimeConfig, site
- Runtime Modules:  [email protected], @nuxtjs/[email protected], @nuxtjs/[email protected], @nuxtjs/[email protected]
- Build Modules:    -
@harlan-zw
Copy link
Owner

This is indeed a bug, it should ideally always have a root path. I'd consider why you'd want to use a sitemap for a site with a single page though.

@idorenyinudoh
Copy link
Author

🤷🏽‍♂️

@harlan-zw
Copy link
Owner

This is fixed in v5.3.0 of the sitemap module, it will always append the base URL into the app sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants