Closed 6mo closed 10 months ago
@6mo Did you add the stylesheet as documented in the README https://github.com/oblador/react-native-vector-icons#web-with-webpack
May bad, this what was missing. I added it in index.web.js and worked like a charm.
Thank you
Hey, I am facing the same issue, can you help me out how exactly did you solve it?
fixed by adding the JS specified in the readme in my index.js: https://github.com/oblador/react-native-vector-icons#web-with-webpack
Environment
Importing icon using
react-native-vector-icons
for areact-native-web
app didn't work as expected. Here is the conf in order to reproduce it:package.json
webpack.config.js
In the code, when i try this :
i get an empty square instead of the icon
am i missing something ?