How to deploy create-react-app to Google Cloud

前端 未结 1 1956
失恋的感觉
失恋的感觉 2021-01-12 17:53

I have a frontend create-react-app and a backend API using Expressjs.

I deployed the backend API to Google App Engine successfully.

But now I need to deploy

相关标签:
1条回答
  • 2021-01-12 18:36

    You just need to configure the Cloud Storage bucket to serve index.html as the 404 page.

    For Google App Engine, you can use serve or set up nginx to serve index.html in the build folder.

    0 讨论(0)
提交回复
热议问题