Build with Relative URLs
Author: ghostCreated Sep 4, 2018Updated Mar 12, 2026
Labelstype: enhancementhas workaround
Feature request
If there was a feature to build with relative urls, we could run the files without opening a server. Might be something like:
vuepress build --relative
And urls would be like:
assets/js/5.3ca37a5b.js
instead of:
/assets/js/5.3ca37a5b.js
What problem does this feature solve?
Run static files without a server.
Are you willing to work on this yourself?**
Sure.
Source: vuejs/vuepress