2017-08-23 08:24

为什么我的CSS不会加载到AWS Lambda中?


I uploaded my Slim project to AWS Lambda following this tutorial:

Since Laravel and Slim are quite similar, I was able to run my project.

However, my stylesheets and JS won't load with the page. console log

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答


  • doubao12345 doubao12345 4年前

    I got it. This is because I did not define a route. So, it doesn't return anything. Fixed it by uploading my CSS to S3 instead.

    点赞 评论 复制链接分享