React Native 错误 Module does not exist in the module map
code show as below:
-
import Login from 'login'
-
import Index from 'index'
Solution:
Import your own writing js must not forget to write './', will think otherwise is to introduce modules ...
Read:
import Login from './login' import Index from './index'
This blog address: wukong1688
This article Original Address: https://www.cnblogs.com/wukong1688/p/10939453.html
Please reprint famous source! Thank you ~ ~