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.
Asked
Active
Viewed 116 times
2 Answers
2
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.

Buck Doyle
- 6,333
- 1
- 22
- 35
-
thanks a lot @buck, all i did is made this variable false and included the icon fonts in my project.This made it work. – vishal pareek Aug 06 '20 at 07:16
2
If any body is looking for full answer i added below code in my environment file under production environment
ENV['ember-paper'] = ENV['ember-paper'] || {
insertFontLinks: false
};
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" .

vishal pareek
- 95
- 8