vuecli项目 静态资源路径补全出错 #738
Unanswered
2392232844qq
asked this question in
Q&A
Replies: 2 comments 12 replies
-
代码是对的,检查一下文件名和文件引入的地方对吗 |
Beta Was this translation helpful? Give feedback.
12 replies
-
hi, 我的是vite, 遇到同样的问题,请问是配置问题吗?css里面的背景图片补全访问到了主应用的路径。麻烦看下 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
按照官方文档配置了
if (window.MICRO_APP_ENVIRONMENT) {
// eslint-disable-next-line
webpack_public_path = window.MICRO_APP_PUBLIC_PATH
}
子应用的静态资源路径还是 基座的前缀,请问这个改怎么解决
Beta Was this translation helpful? Give feedback.
All reactions