mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-09 23:33:10 +08:00
feat(ssr): index.html
This commit is contained in:
parent
40bbfa0fc1
commit
1a28744495
12
index.html
12
index.html
@ -2,17 +2,19 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite App</title>
|
||||
<!--preload-links-->
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.documentElement.style.fontSize =
|
||||
document.documentElement.clientWidth / 23.4375 + "px";
|
||||
});
|
||||
document.documentElement.clientWidth / 23.4375 + 'px'
|
||||
})
|
||||
</script>
|
||||
<!--app-context-->
|
||||
</head>
|
||||
<body id="app">
|
||||
<body>
|
||||
<div id="app"><!--app-html--></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user