我想从资产/图像需要一个图像
诺蒂.png
我有这个错误
您传递的图像位置不正确。正如您在错误中看到的: the module .. could not be found
the module .. could not be found
要修复它,请检查您调用该映像的当前文件的位置,然后返回到准确的位置并调用它。另外,如果您使用IDE,他们会向您推荐位置。
require('../assets/images/noti.png'