Hi
I am building a react app for LG. I have put my static images and fonts inside src/assets. folder in create react app. After that i build this project using “react-scripts build” command. This generates build folder and mapped all assets to /build/static/media folder.
I have created sample project for LG using VSCode extensions and copied my build folder in this. After that i tried running the emulator but i cannot see any of the static image and fonts in my application, instead it takes LG legacy font. Whereas it is taking all static images and fonts in browser.
You can access app assets relative to the location of the index.html file within your package structure. From the index.html file, you can refer to a font in the assets directory as follows: