Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

Deploying to gh-pages from @ bc0c8f4cc4c539654a296754640bbd0ab6171851 🚀

This commit is contained in:
pany-ang 2024-11-04 09:39:31 +00:00
parent 09062a356f
commit 4d12b1edd1
2 changed files with 6 additions and 7 deletions

5
detect-ie.js Normal file
View File

@ -0,0 +1,5 @@
// Tip: Simple judgments may not fully cover
if (/MSIE\s|Trident\//.test(window.navigator.userAgent)) {
document.body.innerHTML =
"<strong>Sorry, this browser is currently not supported. We recommend using the latest version of a modern browser. For example, Chrome/Firefox/Edge.</strong>"
}

View File

@ -6,6 +6,7 @@
<link rel="icon" href="/v3-admin-vite/favicon.ico" />
<link rel="stylesheet" href="/v3-admin-vite/app-loading.css" />
<title>V3 Admin Vite</title>
<script src="/v3-admin-vite/detect-ie.js" defer></script>
<script type="module" crossorigin src="/v3-admin-vite/static/index-BCO8YCyJ.js"></script>
<link rel="modulepreload" crossorigin href="/v3-admin-vite/static/vue-Cbc2VO5H.js">
<link rel="modulepreload" crossorigin href="/v3-admin-vite/static/element-CIGgIb82.js">
@ -16,12 +17,5 @@
<div id="app">
<div id="app-loading"></div>
</div>
<script>
// Tip: Simple judgments may not fully cover
if (/MSIE\s|Trident\//.test(window.navigator.userAgent)) {
document.body.innerHTML =
"<strong>Sorry, this browser is currently not supported. We recommend using the latest version of a modern browser. For example, Chrome/Firefox/Edge.</strong>"
}
</script>
</body>
</html>