Closed mattferrin closed 7 years ago
Add ./web/index.js
like here: https://github.com/tuckerconnelly/react-stack-nav-examples/blob/master/Drawer/web/index.js
This will go away once we get https://github.com/tuckerconnelly/carbon-ui/issues/1 done
Thanks a bunch btw for going through the setup and filing these issues :) Will use all of this to smooth out the process as much as possible
Yeah, besides carbon-ui installation, I had to follow tuckerconnelly/react-native-web installation steps as well, which mentions adding index.js. Perhaps we can be a bit redundant by copying those instructions to carbon-ui too, at least for now.
And I'm using carbon-ui
as a 'polyfill' for material-ui
, so it seemed unnecessary for me to need to do this web step entirely since I was executing React Native code. Just feedback.
It should work out-of-the-box with just React Native :) Try deleting all the web stuff and lemme know how it blows up.
Ok, this is fixed on tuckerconnelly/react-native-web
. Gonna track react-native-web stuff on https://github.com/tuckerconnelly/carbon-ui/issues/1
Unable to resolve 'web' module.