From 7d9e1e3423913ab5c67e52e04cdb139ea96bac4d Mon Sep 17 00:00:00 2001 From: abearxiong Date: Sun, 12 Oct 2025 18:01:47 +0800 Subject: [PATCH] temp --- .gitignore | 5 +++++ index.html | 12 ++++++++++++ kevisual.json | 9 +++++++++ package.json | 22 ++++++++++++++++++++++ pnpm-workspace.yaml | 2 ++ src/main.ts | 2 ++ src/style.css | 8 ++++++++ 7 files changed, 60 insertions(+) create mode 100644 .gitignore create mode 100644 index.html create mode 100644 kevisual.json create mode 100644 package.json create mode 100644 pnpm-workspace.yaml create mode 100644 src/main.ts create mode 100644 src/style.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5a0dc5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +node_modules + +dist + +pnpm-lock.yaml \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..9a21bbe --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + + + + 网页 + + + + + + diff --git a/kevisual.json b/kevisual.json new file mode 100644 index 0000000..c7003c0 --- /dev/null +++ b/kevisual.json @@ -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" + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..ea9b80d --- /dev/null +++ b/package.json @@ -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" + } +} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..efc037a --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +onlyBuiltDependencies: + - esbuild diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..0d0c07b --- /dev/null +++ b/src/main.ts @@ -0,0 +1,2 @@ + +document.body.innerHTML = 'Hello World' \ No newline at end of file diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..14b43b0 --- /dev/null +++ b/src/style.css @@ -0,0 +1,8 @@ +html, body { + width: 100%; + + + height: 100%; + overflow: hidden; + margin: 0; +}