Skip to content

Conversation

@xingwangzhe
Copy link
Contributor

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

恭喜你打开了你的第一个拉取请求!我们的团队将很快对其进行审核并提供任何必要的反馈。感谢您为我们的项目做出贡献!

@xingwangzhe
Copy link
Contributor Author

https://vitepress.dev/zh/guide/asset-handling#the-public-directory

关于静态资源引用 vitepress官方文档有说明

未按照官方的public路径来放置静态资源的话,即使是docs:dev预览能看见,它也不会在docs:build构建后成为产物,意味着docs:preview会看不见图片等静态资源

所以需要创建一个pubilc目录来统一放置静态资源

@LingASDJ LingASDJ merged commit 2d294cd into LingASDJ:main Mar 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants