在学习React的时候,使用静态引入文件,起初会时不时的出现这个错,一般情况下,是 Component 的首写字母没有大写造成的!
Component
转载自:https://blog.csdn.net/qq_42840269/article/details/96310821