Initial commit

This commit is contained in:
test
2025-10-13 20:04:36 +08:00
commit 647d008dbd
7 changed files with 60 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
node_modules
dist
pnpm-lock.yaml

12
index.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网页</title>
<link rel="stylesheet" href="./src/style.css">
</head>
<body>
<script type="module" src="./src/main.ts"></script>
</body>
</html>

9
kevisual.json Normal file
View File

@@ -0,0 +1,9 @@
{
"name": "vite-3d-template",
"scripts": {
},
"sync": {
"kevisual.json": "https://kevisual.xiongxiao.me/root/resources/vite-3d-template/1.0.0/kevisual.json"
}
}

22
package.json Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "vite-3d-template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"pub": "ev deploy ./dist -k vite-3d-template-demo -v 1.0.0 -u "
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.18.2",
"devDependencies": {
"@types/three": "^0.180.0",
"vite": "^7.1.9"
},
"dependencies": {
"three": "^0.180.0"
}
}

2
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,2 @@
onlyBuiltDependencies:
- esbuild

2
src/main.ts Normal file
View File

@@ -0,0 +1,2 @@
document.body.innerHTML = 'Hello World'

8
src/style.css Normal file
View File

@@ -0,0 +1,8 @@
html, body {
width: 100%;
height: 100%;
overflow: hidden;
margin: 0;
}