first commit

This commit is contained in:
cnluminous committed 2026-10-27 11:53:04 +08:00
commit f88225469b
20 files changed
+1474

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
# 未完待续 · 敬请期待
基于 Vite 和原生 JavaScript 的项目上线预告页。暖白底色搭配橙色星球,支持手机与桌面布局、轻量动效、系统分享及复制链接。
## 本地开发
使用 Node.js 20.19+ 或 22.12+:
```sh
npm install
npm run dev
```
项目的 `.npmrc` 启用了 `legacy-peer-deps`,用于绕过 npm 10 在解析 Vite 可选开发工具同伴依赖时触发的 `Cannot read properties of null (reading 'edgesOut')` 错误。直接运行上述安装命令即可。
## 构建与预览
```sh
npm run build
npm run preview
```
部署时发布 `dist` 目录。
## 调整内容
- `src/main.js`:品牌名称、页面文案、准备阶段和分享内容。
- `src/style.css`:颜色变量、星球插画、动效和响应式布局。
- `index.html`:浏览器标题、页面描述和社交分享元信息。
- `public/favicon.svg`:网站图标。
分享按钮优先调用浏览器的系统分享;不可用时复制链接。复制权限受限时展示可手动复制的链接。页面使用系统字体与 CSS/SVG 插画,无需外部图片或字体服务。