You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a custom font by referencing it in app.css. Unfortunately, it only works if I declare it in index.html. Maybe Webpack does not properly resolve the path?
import() and url() are managed by webpack itself so you have to put there the filesystem relative path or disable this feature if you want to let the browser to deal with that.
I'm trying to use a custom font by referencing it in
app.css
. Unfortunately, it only works if I declare it inindex.html
. Maybe Webpack does not properly resolve the path?Not working:
Working:
The text was updated successfully, but these errors were encountered: