react-native報錯信息之 The component for route 'X' must be a React component.

錯誤語句The component for route 'X' must be a React component.音譯爲路線「首頁」的組件必須是反應組件 如下圖 問題原因就是我們沒有把組件導出造成的 在最後加上export default  導出頁面即可
相關文章
相關標籤/搜索