#err: file not found when importing fonts

27 messages · Page 1 of 1 (latest)

vast grove
#

then path is wrong

daring finch
#

i checked it multiple time it's correct!!!

unborn violet
#

make css styles in another file

#

it can be the broblem

#

make / not \

daring finch
#

there is space between words thats why am using \

#

i moved css into another file , now file not found for css file

unborn violet
#

how you named the css file

vast grove
#

do you know how webpack works?

daring finch
daring finch
vast grove
#

you are

daring finch
vast grove
#

when running app in dev mode

#

webpack handle it

#

from dev server

#

so path cant be with ../../..

#

in production most likely path is wrong and you dont have font files in final build

daring finch
#

so how to fix that ?

vast grove
#

correctly setup webpack

daring finch
#

hmmmm

daring finch
#

i have used '../../../' in several other places and worked just fine

daring finch
vast grove
#

it's still webpack

daring finch
#

ok thanks