Commit d1e0cf175e47aef6a8a1c137205bdd2703ab0bce
1 parent
b22404e9
UI: Fixed load material icon fonts
Showing
2 changed files
with
3 additions
and
3 deletions
@@ -63,7 +63,7 @@ | @@ -63,7 +63,7 @@ | ||
63 | { | 63 | { |
64 | "glob": "**/*", | 64 | "glob": "**/*", |
65 | "input": "node_modules/material-design-icons/iconfont/", | 65 | "input": "node_modules/material-design-icons/iconfont/", |
66 | - "output": "/fonts" | 66 | + "output": "assets/fonts" |
67 | } | 67 | } |
68 | ], | 68 | ], |
69 | "styles": [ | 69 | "styles": [ |
@@ -24,8 +24,8 @@ | @@ -24,8 +24,8 @@ | ||
24 | 24 | ||
25 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 25 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
26 | <link rel="icon" type="image/x-icon" href="thingsboard.ico"> | 26 | <link rel="icon" type="image/x-icon" href="thingsboard.ico"> |
27 | - <link rel="preload" href="fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> | ||
28 | - <link rel="stylesheet" href="fonts/material-icons.css" /> | 27 | + <link rel="preload" href="assets/fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> |
28 | + <link rel="stylesheet" href="assets/fonts/material-icons.css" /> | ||
29 | <style type="text/css"> | 29 | <style type="text/css"> |
30 | 30 | ||
31 | body, html { | 31 | body, html { |