Self Hosting Font not Working With Mui5 createTheme

Viewed 10

Here is my index.css pointing to my ./fonts/Girassol-Regular.woff2 Font

This is my mui createTheme js file

This is where I am importing my theme.js and using it with ThemeProvider

This is my webpack.config.js

I am trying to self host fonts on my application i know that when i use the cdn fonts everything works just fine.

0 Answers
Related