feat: add dev module

This commit is contained in:
2024-12-06 01:50:50 +08:00
parent 8b136d1a5a
commit a1344b9220
26 changed files with 3567 additions and 145 deletions

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite Demo</title>
</head>
<body>
<h1>Welcome to Vite Demo</h1>
<div id="app"></div>
<script type="module" src="./src/index.ts"></script>
</body>
</html>

View File

@@ -0,0 +1 @@
document.querySelector('#app')!.innerHTML = 'Hello Vite!'