reactjs - fetch as google displays blank page only

前端 未结 8 939
囚心锁ツ
囚心锁ツ 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:43

    For google to see your page as is, you should be implementing server side rendering. Here by looking at your code it is client side rendering, here browser uses java script to load your DOM.

提交回复
热议问题