Skip to content

URLs not reflecting base path in SvelteKit + @sveltejs/adapter-static setup #11554

Answered by WhyAsh5114
BramLeisink asked this question in Q&A
Discussion options

You must be logged in to vote

Was stuck on this for hours, to fix:

in svelte.config.js

const config = {
  kit: {
    paths: { relative: false }
  }
};

Maybe this should be mentioned somewhere in the docs about @sveltejs/adapter-static

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fge-bmaker
Comment options

Answer selected by BramLeisink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants