Skip to content
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

在浏览器 地址 访问 public 下面的资源是很常见的要求,现在是项目可以用,但是地址栏打开不行。 #7808

Closed
liliangzdh opened this issue Feb 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@liliangzdh
Copy link

liliangzdh commented Feb 13, 2025

版本号: 3.6.3
问题描述:地址栏不打开资源文件,全部跳转到vue-router
错误截图:

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@liliangzdh liliangzdh added the bug Something isn't working label Feb 13, 2025
@liliangzdh
Copy link
Author

发现是 引入 vite-plugin-html 这个,就不能直接打开。 直接把这个注释掉就行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant