I am creating a web module with ember paper where i need to use this module offline as well, now when i use the offline mode the ember paper icons doesn't appear instead just the text appears, can anyone help me getting ember paper work offline.
How to use ember paper icons offline?
126 views Asked by vishal pareek At
2
There are 2 answers
1
On
You can use ENV['ember-paper'].insertFontLinks to prevent the remote font CSS from being included, at least. You could then store the relevant files locally, though that may be forbidden for licensing reasons.
If any body is looking for full answer i added below code in my environment file under production environment
and i downloaded the icon file from "https://fonts.googleapis.com/icon?family=Material+Icons" and included this in my scss and changed the src for woff2 file to my local file which again i downloaded from "https://fonts.gstatic.com/s/materialicons/v54/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2" .