reactjs - How to use node_modules that are not in my directory in React Native? -
i have project folders project/nativeapp
, nativeapp
folder react native project resides. want use npm libraries, required const react = require('react')
.
thing is, want have 1 package.json
, node_modules/
whole project in project
folder 1 npm install
needed. how require libraries "one level up" in file system?
Comments
Post a Comment