我已经通过很多的这样的堆栈溢出类似的问题了一个.每个人都有不同的角度来部署反应应用程序.
但是这个问题适用于那些使用redux,react-router和react-router-redux的人.我花了很多时间来确定托管单页面应用程序的正确方法.我正在汇总这里的所有步骤.
我写了下面的答案,其中包含将react-redux app部署到S3的步骤.
amazon-s3 amazon-web-services reactjs react-router react-router-redux
amazon-s3 ×1
amazon-web-services ×1
react-router ×1
react-router-redux ×1
reactjs ×1