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

Does not recognize svelkit pages #49

Open
hortigado opened this issue Apr 5, 2024 · 1 comment
Open

Does not recognize svelkit pages #49

hortigado opened this issue Apr 5, 2024 · 1 comment

Comments

@hortigado
Copy link

Hello, I am trying this great tool but I have a problem and it is that it does not recognize the subdirectories. What am I doing wrong? Thank you
image
image
image

@mstibbard
Copy link

You are not prerendering those routes hence svelte-sitemap does not see them.

Refer to the SvelteKit docs but as an example: your routes/login/+page.svelte will be server side rendered unless you add a +page.js (or +page.server.js or +server.js) containing export const prerender = true;

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