Replies: 1 comment
-
给我的感觉像是路径解析不正常导致的,因为我的图片是放到当前文档下 之前使用 hexo 也遇到过这种问题,不过那时候是通过装插件的方式解决的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如题,在本地测试时
yarn dev
是正常的,但是使用命令yarn docs:build --dest public
打包失败,包括交给 gitlab 去构建的时候也是一样的错误。查过网上的资料,说是需要配置一下
vite.config.ts
,但是不用前端,连这个配置文件在哪都没找到……,尝试在.vuepress/config.ts
配置但是提示说不能配置。下面是完整截图:
Beta Was this translation helpful? Give feedback.
All reactions