reactjs - fetch as google displays blank page only

前端 未结 8 1027
囚心锁ツ
囚心锁ツ 2021-01-06 05:09

I\'ve just coded my first website using reactjs, but when I check how google sees my website, I receive the following result:

My HTML file looks like this:

8条回答
  •  长情又很酷
    2021-01-06 05:32

    This appears to be a known issue with Google Bot's JS engine. I'm still trying to understand what exactly the problem is, but it seems that adding 'babel-polyfill' to your app solves the problem.

    Medium post detailing a fix

提交回复
热议问题