react-nativeish
react-nativeish copied to clipboard
Trouble using react-native-vector-icons in web
I'm having trouble including react-native-vector-icons with CRA for web. Is there anything you'd recommend?
Could you post an example? I love this scaffolding btw.
It currently looks for Expo, I haven't ejected (was hoping not to have to).
I'm glad you like it! :pray:
Sorry I somehow missed this notification.
I'll update the deps for the repo this weekend, and see if I can fix the issue.
Good luck until then.
I figured it a partial solution. One needs to add the head tags in storybook to load any external font libraries. https://storybook.js.org/configurations/add-custom-head-tags/
Also, add some external font links to the index.html head.
I couldn't actually get the react-native-vector-icons library to work, but used a font library anyway.
Hmm, that's strange that it doesn't work at all.
Are you still using the version of expo that comes with the boilerplate?
I'm sorry I've been super slammed, I haven't had time to update this in a while. I'll try to make it a priority.