I have a Vue project and I am trying to incorporate the line-awesome font. However, when importing the CSS file containing the fonts in my App.vue component like this:
@import 'assets/fonts/line-awesome/css/line-awesome.min.css';
No errors are displayed, but the fonts do not seem to be loading in my application.
The CSS file contains the following font-face definition:
@font-face {
font-family: "LineAwesome";
src: url("../fonts/line-awesome.eot?v=1.1.");
src: url("../fonts/line-awesome.eot??v=1.1.#iefix") format("embedded-opentype"),
url("../fonts/line-awesome.woff2?v=1.1.") format("woff2"),
url("../fonts/line-awesome.woff?v=1.1.") format("woff"),
url("../fonts/line-awesome.ttf?v=1.1.") format("truetype"),
url("../fonts/line-awesome.svg?v=1.1.#fa") format("svg");
font-weight: normal;
font-style: normal;
}
I'm unsure if the issue lies in an incorrect path or if additional configuration is needed in my application.
Any suggestions on how to resolve this?