A
A
Alexander Felison2020-02-14 22:16:11
css
Alexander Felison, 2020-02-14 22:16:11

Error connecting vue-cli fonts?

Hello! When including materialdesignicons-webfont97e3.html.

This way it gives an error:

@font-face {
  font-family: "Material Design Icons";
  src: url("../fonts/materialdesignicons-webfont97e3.eot?v=3.4.93");
  src: url("../fonts/materialdesignicons-webfontd41d.eot?#iefix&v=3.4.93") format("embedded-opentype"),
  url("../fonts/materialdesignicons-webfont97e3.html?v=3.4.93") format("woff2"),
  url("../fonts/materialdesignicons-webfont97e3.woff?v=3.4.93") format("woff"),
  url("../fonts/materialdesignicons-webfont97e3.ttf?v=3.4.93") format("truetype"),
  url("../fonts/materialdesignicons-webfont97e3.svg?v=3.4.93#materialdesigniconsregular") format("svg");
  font-weight: normal;
  font-style: normal
}

For some reason, I'm swearing at this line:
url("../fonts/materialdesignicons-webfont97e3.html?v=3.4.93") format("woff2"),


Here is the error itself in the console: 5e46f1d1c1d50627461037.png

I searched the Internet for a solution and did not find it, I hope that they will tell me what the problem is.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-02-14
@FelisonJS

Your file is in the wrong format

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question