beercss / beercss

Build material design interfaces in record time... without stress for devs... πŸΊπŸ’›
https://www.beercss.com
MIT License
937 stars 47 forks source link

External assets being used when using beercss as a NPM package. #298

Closed WardPearce closed 2 weeks ago

WardPearce commented 2 weeks ago

https://github.com/WardPearce/Materialious/issues/173

leonardorafael commented 2 weeks ago

@WardPearce nice project!

https://github.com/beercss/beercss/blob/main/src/cdn/settings/fonts.css

As you can see, the external url is just a font fallback when the local font fails (it's highly recommended to have a font fallback). The modern bundlers should put the local fonts on the right path automatically.

Just verify if the bundler is copying the fonts on the right path. If not, do that mannually.

leonardorafael commented 2 weeks ago

@WardPearce, seems the fonts are loading correctly here https://materialio.us/

image