将nextjs导出文件部署到Amazon S3存储桶

时间:2018-11-30 06:16:11

标签: amazon-web-services amazon-s3 next.js

我无法在Amazon S3上托管nextjs导出文件。有人做过吗?将文件上传到存储桶后,CSS样式似乎没有生效。我在S3上创建了入口点index.html。这是我导出的nextjs文件的文件夹结构:

enter image description here

我的css和js文件可以在_next文件夹中找到,如下所示:

enter image description here

任何帮助将不胜感激!

0 个答案:

没有答案