temp
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
node_modules
|
||||
|
||||
dist
|
||||
|
||||
pnpm-lock.yaml
|
||||
12
index.html
Normal file
12
index.html
Normal 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
9
kevisual.json
Normal 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
22
package.json
Normal 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
2
pnpm-workspace.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
onlyBuiltDependencies:
|
||||
- esbuild
|
||||
2
src/main.ts
Normal file
2
src/main.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
document.body.innerHTML = 'Hello World'
|
||||
8
src/style.css
Normal file
8
src/style.css
Normal file
@@ -0,0 +1,8 @@
|
||||
html, body {
|
||||
width: 100%;
|
||||
|
||||
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user