报错信息:does not match the corresponding name on disk: '.\src\component\Header\header'.
原因,可能是引入的react错误,也可能是路径的错路,或者大小写的问题。
正确的react的引入的方式:
import React from 'react'
注意路径和大小写的问题
报错信息:does not match the corresponding name on disk: '.\src\component\Header\header'.
原因,可能是引入的react错误,也可能是路径的错路,或者大小写的问题。
正确的react的引入的方式:
import React from 'react'
注意路径和大小写的问题
本文标题:does not match the corresponding
本文链接:https://www.haomeiwen.com/subject/rictyhtx.html
网友评论