Fontawesome css not included in gruntfile file

I am running version 2.22.0 of the jhipster application. I recently installed the awesome font using bower by including it in the bower.json file. The problem is that after running grunt, any css awesome font files are included in index.html. I read a closed question (# 748), but nothing.

Finally, I added this to the bower.json overrides section, as is the case with boot files, and now font-awesome.css is included in idex.html.

"overrides": {
    ....
    "fontawesome": {
        "main": [
            "css/font-awesome.css",
            "scss/font-awesome.scss",
            "less/font-awesome.less"
        ]
    }
 }

That's the right decision? And is this required for every external js / css file?

PD I read the hjipster documentation and I see nothing about this solution in "Using JHipster in development"

Thanks in advance.

+4
2

, , sass, sass , font-awesome.scss main.scss.

+4

"-" "font-awesome". ! !

0

Source: https://habr.com/ru/post/1611328/


All Articles