[Vuejs]-Cannot load font-face in Vue.js

0👍

this one worked for me:

src: url('~@/assets/fonts/rajdhani-light-webfont.woff') format('woff');

0👍

define your path like this:

@font-face {
    font-family: 'rajdhanibold';
    src: url('../fonts/rajdhani-bold-webfont.eot');
    /* and another sources */
}

Leave a comment