R
R
RaDir2017-04-12 23:54:24
BEM
RaDir, 2017-04-12 23:54:24

How to include font-awesome in a BEM project (full stack, project-stub)?

Hello.
Can you please tell me how to correctly connect font-awesome to a BEM project? Connecting through the header is not suitable.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RaDir, 2017-04-13
@RaDir

Solved the problem.
make.js:

...
require('postcss-url')({ url: 'inline' }),  // меняем на строчку ниже
...
require('postcss-url')({ url: 'rebase' }),
...

Found info here .

O
Oleg, 2017-04-13
@werty1001

There is a separate library .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question