erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12.01k stars 2.5k forks source link

webpack config for icomoon #1310

Open waliurjs opened 7 years ago

waliurjs commented 7 years ago

Need help to configure webpack to load icomoon icons. icomoon.scss loads fine and the icon class used in Header.scss also sets the content: "\e61c"; to the span correctly. (checked in chrome console). Problem is there is no error in the cmd console but the span shows an empty square box in the browser.

Notes: Removed the Font Awesome settings. Added Lato font and which gets loaded correctly.

My gist link

andwilr commented 7 years ago

@oleole90 are you sure the icomoon font files are in the location icomoon.scss is referencing them?

From your description it sounds like the browser is not finding the files at /theme/icons/...