How to make react-native-windows as local package dependency? #10705
-
Hellow, everyone.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you want to modify your own copy of the react-native-windows repo (i.e. that you cloned/downloaded) and would like to build an app that consumes that local copy, you'll need to update your app project to use Don't forget that as you modify the TS files in your RNW clone, you'll need to use |
Beta Was this translation helpful? Give feedback.
If you want to modify your own copy of the react-native-windows repo (i.e. that you cloned/downloaded) and would like to build an app that consumes that local copy, you'll need to update your app project to use
yarn link
. See https://github.com/microsoft/react-native-windows/wiki/Contributing-to-the-CLI#testing-changes-made-to-our-other-packages-using---usedevmodeDon't forget that as you modify the TS files in your RNW clone, you'll need to use
yarn build
to build the JS for your app to consume.