React Native import module with absolute path and Keep IntelliSense in VSCode
1 min readAug 9, 2018
After I refer https://medium.com/@davidjwoody/how-to-use-absolute-paths-in-react-native-6b06ae3f65d1 to complete the absolute path import, IntelliSense is not working in VSCode.
To solve this problem, all you have to do is create jsconfig.json file at the top of your project.
Add the following content in jsconfig.json:
{
"compilerOptions": {
"module": "es6"
}
}