Browse Source
Merge pull request #3849 from vvlladd28/bugs/load-fonts/prod
UI: Fixed load material icon fonts
pull/3870/head
Igor Kulikov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
ui-ngx/angular.json
-
ui-ngx/src/index.html
|
|
|
@ -63,7 +63,7 @@ |
|
|
|
{ |
|
|
|
"glob": "**/*", |
|
|
|
"input": "node_modules/material-design-icons/iconfont/", |
|
|
|
"output": "/fonts" |
|
|
|
"output": "assets/fonts" |
|
|
|
} |
|
|
|
], |
|
|
|
"styles": [ |
|
|
|
|
|
|
|
@ -24,8 +24,8 @@ |
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
<link rel="icon" type="image/x-icon" href="thingsboard.ico"> |
|
|
|
<link rel="preload" href="fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> |
|
|
|
<link rel="stylesheet" href="fonts/material-icons.css" /> |
|
|
|
<link rel="preload" href="assets/fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> |
|
|
|
<link rel="stylesheet" href="assets/fonts/material-icons.css" /> |
|
|
|
<style type="text/css"> |
|
|
|
|
|
|
|
body, html { |
|
|
|
|