Thursday, 13 April 2017

How to load in font awesome when using node.js server

I am using node server as a test enviroment for a chat application I'm building. I can't seem to load in the font awesome library.

To link to the css I use this on the server.js: app.use(express.static(path.join(__dirname, 'public')));

And that works.

But it doesn't work for font awesome.

Any suggestions?



via JonasSH

No comments:

Post a Comment