UI: Fixed load material icon fonts
This commit is contained in:
parent
b22404e9fb
commit
d1e0cf175e
@ -63,7 +63,7 @@
|
|||||||
{
|
{
|
||||||
"glob": "**/*",
|
"glob": "**/*",
|
||||||
"input": "node_modules/material-design-icons/iconfont/",
|
"input": "node_modules/material-design-icons/iconfont/",
|
||||||
"output": "/fonts"
|
"output": "assets/fonts"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
|
|||||||
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="thingsboard.ico">
|
<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="preload" href="assets/fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
|
||||||
<link rel="stylesheet" href="fonts/material-icons.css" />
|
<link rel="stylesheet" href="assets/fonts/material-icons.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
body, html {
|
body, html {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user