当部署到Vercel时,高度的网站图像消失了
我有一个 /src文件夹,高度将图像放入 /_ SITE文件夹中。
在我的本地主机上,我正在使用图像路由:static/img/imagename.png,并且加载到local主机上时起作用。
但是,部署到Vercel时,图像消失了。想知道我的图像的文件路由应该是什么。
I have a /src folder and Eleventy serves up the images into /_site folder.
On my localhost I'm using the image route: static/img/imagename.png and it works when loading onto the localhost.
However the image disappears when being deployed to Vercel. Wondering what the file route of my image should be.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论