最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Angular 19 + AWS Amplify Image load problem - Stack Overflow

programmeradmin6浏览0评论

Hey guys i hope maybe someone cam across the same issue i deployed my App to AWS Amplify via Github and the Images are not loading. I already checked and hosted the dist/project/browser folder localy via npx and the images are loading localy but on AWS its just the alt text

Local Screenshot Amplify App

I already tried some things ppl mentioned online so here is what i already did:

  1. I Changed the Angular.json build section to this Angular.json 2.Dist ordner containing images? Yes! Assets Folder Changed the Rewrites on AWS Amplify Rewrites 3.Changed the Custom Headers Headers 4.Changed the Amplify.yml.yml
  2. Images are Ref. like this: 'assets/images/car1.webp'

I hope someone can help me with this because i cant find anything about this online

发布评论

评论列表(0)

  1. 暂无评论