You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to provide simple documentation to consult, and in some cases without web server.
With MPA mode and with a "base" parameter with the value '.', pages at the root work properly. There is no CORS problem.
page.html look like:
But in a sub-directory, the base should be '..', or '../..' sub-sub-directory.
If I manually change '.' to '..', page in subdirectories work properly:
How can we accomplish this?
May by with base:'local', then vitepress can adapt the base depending on the level of the tree ?
Beta Was this translation helpful? Give feedback.
All reactions