Hello community,
is it possible to use a custom font inside own plugins?
When I add the fonts like custom css it doesn’t work.
if mobileFrontend?
mobileFrontend.registerAssetFile 'js', "pimatic-wunderground/app/wundergroundTempl-page.coffee"
mobileFrontend.registerAssetFile 'html', "pimatic-wunderground/app/wundergroundTempl-template.html"
mobileFrontend.registerAssetFile 'css', "pimatic-wunderground/app/css/wunderground.css"
mobileFrontend.registerAssetFile 'css', "pimatic-wunderground/app/css/weather-icons.css"
mobileFrontend.registerAssetFile 'eot', "pimatic-wunderground/app/fonts/weathericons-regular-webfont.eot"
mobileFrontend.registerAssetFile 'svg', "pimatic-wunderground/app/fonts/weathericons-regular-webfont.svg"
mobileFrontend.registerAssetFile 'ttf', "pimatic-wunderground/app/fonts/weathericons-regular-webfont.ttf"
mobileFrontend.registerAssetFile 'woff', "pimatic-wunderground/app/fonts/weathericons-regular-webfont.woff"
mobileFrontend.registerAssetFile 'woff2', "pimatic-wunderground/app/fonts/weathericons-regular-webfont.woff2"
Of course, you could copy the fonts to pimatic-mobile-frontend/public, but this is no good solution.