Welcome to JiKe DevOps Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
597 views
in Technique[技术] by (71.8m points)

VuePress静态资源配置地址、通用URL前缀

Vuepress的静态资源用外链图床,想要配置静态资源前缀,如:
[?可配置URL前缀?]?/img/xxx.png???以便于后期维护

?目前在?config.js?配置自定义变量:
image

然后运用到markdown文件:
image

可惜解析出来变成了字符串了:
image
?
1.没有找到合适的解决方案,请问有大神解决过类似的场景吗?
2.或者怎么配置通用静态资源地址呢?文档有个“configureWebpack”试了不太会用,有人会用吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to JiKe DevOps Community for programmer and developer-Open, Learning and Share
...