Is there any ways to set baseUrl with routify v3? #423
-
Hi all! I'm making a basic static site with I think this is because I tried to code below, but It isn't work as properly. the result url looks like p.s
Can anyone help? 😅 If someone wants to see the whole code, refer here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your index.html isn't configured correct from what I can tell. view-source:https://svelte-seoul.github.io/svelte-admin-ui/ It's trying to resolve assets from the root |
Beta Was this translation helpful? Give feedback.
Your index.html isn't configured correct from what I can tell.
view-source:https://svelte-seoul.github.io/svelte-admin-ui/
It's trying to resolve assets from the root
/
, but they should be resolved from/svelte-admin-ui
. Vite handles the index.html, so you'll have to refer to their documentation.