Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Necleo Font face issue #43

Open
dutchman1990 opened this issue Apr 19, 2020 · 0 comments
Open

Necleo Font face issue #43

dutchman1990 opened this issue Apr 19, 2020 · 0 comments

Comments

@dutchman1990
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant