index.html 538 B

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="icon" href="/favicon.ico">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>项目名</title>
  8. </head>
  9. <body>
  10. <div id="app" class="app"></div>
  11. <script type="module" src="/src/main.js"></script>
  12. </body>
  13. </html>
  14. <style>
  15. html,
  16. body,
  17. #app {
  18. position: relative;
  19. display: flex;
  20. align-items: center;
  21. justify-content: center;
  22. width: 100%;
  23. height: 100%;
  24. }
  25. </style>
  26. </body>
  27. </html>