-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to use assets or markdown files with space in name #573
Comments
Most likely, this won't be fixed anytime soon. Similar issues are open in VuePress for over 2 years. |
I guess this is the current limitation in Vite? Found this issue. |
|
vuejs/core#8752 might fix it. Before the fix, there is a workaround, which works great as I've been using it for months:
+ "postinstall": "node postinstall.js" |
By decoding them before generating them as JavaScript import paths fix vuejs/vitepress#2596 fix vuejs/vitepress#573
By decoding them before generating them as JavaScript import paths fix vuejs/vitepress#2596 fix vuejs/vitepress#573
Describe the bug
当xxx.md中引用了图片,而图片的名字中含有空格则build失败
如图:
图片名字如下:
Screenshot 2021-07-05 at 12.53.29.png
在xxx.md中去掉相关以下内容 build 成功。
![Screenshot 2021-07-05 at 12.53.29.png](gettingstande.assets/Screenshot%202021-07-05%20at%2012.53.29.png)
Reproduction
yarn build:docs
Expected behavior
希望有空可以优化下。
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: