feat: 1-模板约定

This commit is contained in:
2023-10-01 00:50:02 +08:00
parent 972da85a63
commit 2e2518e1d5
6 changed files with 44 additions and 14 deletions

4
src/global.less Normal file
View File

@@ -0,0 +1,4 @@
body, html {
width: 100%;
min-height: 100vh;
}

11
src/pages/document.ejs Normal file
View File

@@ -0,0 +1,11 @@
<html>
<head>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" href="/umi.css" />
</head>
<body>
<div id="root"></div>
<script src="/umi.js"></script>
</body>
</html>