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

基座应用报错,解析不到一些css文件 #932

Open
tiantingrui opened this issue Dec 3, 2024 · 4 comments
Open

基座应用报错,解析不到一些css文件 #932

tiantingrui opened this issue Dec 3, 2024 · 4 comments

Comments

@tiantingrui
Copy link

tiantingrui commented Dec 3, 2024

这些css文件是动态生成的,在打包的时候未生成,访问基座应用会报错
截屏2024-12-03 15 59 33

index.595efb5b.js:33 [wujie error]: 样式请求出现错误 {src: 'https://captain.noahgcp-prod.com/assets/home.0043dd15.css', response: Response}

@yiludege
Copy link
Collaborator

yiludege commented Dec 3, 2024

那什么时候生成呢?wujie只是拿到url 然后代理请求

@tiantingrui
Copy link
Author

tiantingrui commented Dec 3, 2024

同一套代码,测试环境部署没问题,生产之后出现了上面的报错,导致子应用页面加载css异常
Uploading 截屏2024-12-03 16.16.52.png…

@yiludege
Copy link
Collaborator

yiludege commented Dec 3, 2024

如果测试环境OK,生产出现问题那应该就不是框架的问题,感觉是部署的问题呢?看看子应用路径是不是有前缀之类的导致的

@tiantingrui
Copy link
Author

感谢,我再去check一下

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

No branches or pull requests

2 participants