creativetimofficial / vue-argon-design-system

Vue Argon Design System
http://demos.creative-tim.com/vue-argon-design-system/#/
856 stars 881 forks source link

Necleo Font face issue #43

Open dutchman1990 opened 4 years ago

dutchman1990 commented 4 years ago

In my build of laravel nucleo.css always trying to find font files in root directory of localhost instead of using the complied fonts inside public folder.
I have copied the entire files from src folder to laravels resources/js folder and before compiling the js I have set the file path according to my setup. Hence my nucleo.css files font face paths are like below

@font-face {
  font-family: 'NucleoIcons';
  src: url('../fonts/nucleo-icons.eot');
  src: url('../fonts/nucleo-icons.eot') format('embedded-opentype'), 
  url('../fonts/nucleo-icons.woff2') format('woff2'), 
  url('../fonts/nucleo-icons.woff') format('woff'), 
  url('../fonts/nucleo-icons.ttf') format('truetype'), 
  url('../fonts/nucleo-icons.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

but after successful build via npm, these font faces are missing. The app is trying to find font files form localhost/fonts/... but my compiled fonts are in localhost/laravelapp/public/fonts/ folder. What I'm missing?