You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pnpm run docs:dev and visiting http://localhost:5173/guide/ the terminal displays the following warning:
5:05:06 PM [vitepress] hmr update /guide/index.md
Assets in public directory cannot be imported from JavaScript.
If you intend to import that asset, put the file in the src directory, and use /src/playground.png instead of /public/playground.png.
If you intend to use the URL of that asset, use /playground.png?url.
Files in the public directory are served at the root path.
Instead of /public/playground.png, use /playground.png.
Reproduction
None
Steps to reproduce
In the terminal, run pnpm run docs:dev
In the browser, visit http://localhost:5173/guide/
Describe the bug
When running
pnpm run docs:dev
and visitinghttp://localhost:5173/guide/
the terminal displays the following warning:Reproduction
None
Steps to reproduce
pnpm run docs:dev
http://localhost:5173/guide/
System Info
Used Package Manager
pnpm
Code of Conduct
The text was updated successfully, but these errors were encountered: