[Vuejs]-Vue.js webpack how to import fonts from scss file

0👍

Try to call it with a URL import example how I did for the google fonts

@font-face {
  font-family: "Font-Name";
  src: url("/fonts/font-name.eot");
  src: url("/fonts/font-name.eot?#iefix") format("embedded-opentype"),
    url("/fonts/font-name.woff") format("woff"),
    url("/fonts/font-name.ttf") format("truetype"),
    url("/fonts/font-name.svg#font-name") format("svg");
  font-weight: normal;
  font-style: normal;
}
@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,700,700italic");
@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,300italic,400italic,700,700italic");

Leave a comment