Skip to content

Dynamic/relative asset paths #603

Jan 20, 2023 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

I read the official vite documentation and they actually do support a relative base setting [...] like ./

How exactly would that help and how would you use it? Can you give an example of assets for which you want to have a relative base and why?

A challenge with relative paths is that they depend on the current URL. That's why VPS doesn't support them for now. (I'm not sure how/if VPS can support them.)

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ghost
Comment options

@brillout
Comment options

@brillout
Comment options

@ghost
Comment options

@brillout
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant