Commit aac3f00a by Johannes Edmeier

add preload

parent 75a960a7
......@@ -22,11 +22,22 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="format-detection" content="telephone=no,email=no">
<meta name="theme-color" content="#42d3a5">
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/png">
<link rel="preload" href="assets/css/sba-core.css" as="style">
<th:block th:each="cssFile : ${cssExtensions}">
<link rel="preload" th:href="${cssFile.resourcePath}" as="style">
</th:block>
<link rel="preload" href="assets/js/vendors.js" as="script">
<th:block th:each="jsFile : ${jsExtensions}">
<link rel="preload" th:src="${jsFile.resourcePath}" as="script">
</th:block>
<link rel="preload" src="assets/js/sba-core.js" as="script">
<link href="assets/css/sba-core.css" rel="stylesheet">
<th:block th:each="cssFile : ${cssExtensions}">
<link th:href="${cssFile.resourcePath}" rel="stylesheet">
</th:block>
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/png">
<title th:text="${uiSettings.title}">Spring Boot Admin</title>
</head>
<body>
......
......@@ -23,6 +23,7 @@
<meta name="format-detection" content="telephone=no,email=no">
<meta name="theme-color" content="#42d3a5">
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/png">
<link rel="preload" href="assets/css/sba-core.css" as="style">
<link href="assets/css/sba-core.css" rel="stylesheet">
<title>Spring Boot Admin - Login</title>
</head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment