Disable error overlay in development mode

前端 未结 11 963
长情又很酷
长情又很酷 2020-11-30 08:08

Is there a way to disable the error overlay when running a create-react-app in development mode?

This is the overlay I\'m talking about:

I\'m askin

11条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 08:57

    An alternate solution is to add the following CSS style:

    iframe
    {
        display: none;
    }
    

    This prevents the error from showing.

提交回复
热议问题