Topic: Fontawesome not displayed in production
jay2jam pro asked 5 years ago
Hello,
i get multiple errors for fontawesome The path is correct, but no icon is loading in production, only in dev.
Chrome
GET http://localhost/static/fonts/fa-solid-900.b5cf8ae.woff2 net::ERR_ABORTED 404 (Not
Found)
FF
The requested URL /static/fonts/fa-brands-400.98b6db5.ttf was not found on this server.
Thx
Mikołaj Smoleński staff answered 5 years ago
Very often it's the problem with assets path. For example in our webpack config there is an assetsPublicPath option for declaring the root of the application on server. Please check it. Also check if the fonts are correctly bundled to the dist directory.
Best regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Vue
- MDB Version: 5.0.0
- Device: MAC
- Browser: CHROME
- OS: Moave
- Provided sample code: No
- Provided link: No