Jul 23, 2020
0
Level 1
laravel mix - problem with creating path to fonts
Good Morning, I'm trying to import local fonts to my project. Almost everything gone correct except.... path to fonts at app.css
At _fonts.scss importing fonts from resources/fonts to public/fonts - this is OK after npm run production - fonts are copied correctly fonts.sccs containg path to font in this pattern
src: url('../Nexa-Light.eot');
but at app.css receiving: src:url(/fonts/Nexa-Light.eot
using $font-path at scss doesn't help I don't have anyy additional entries at webpack.mix.js related to fonts
Regards, Przemek
Please or to participate in this conversation.