-
-
+
+
+
+
+
+
+
+
欢迎使用 DeployHelper
+
一个简单高效的部署管理系统
+
+
+
+ 快速部署
-
-
{{ stat.value }}
-
{{ stat.title }}
+
+
+ 文件管理
+
+
+
+ 日志监控
+
+
+
+ 用户管理
-
-
-
-
-
-
-
-
快速开始
-
- 开始部署
- 管理文件
- 查看日志
-
+
登录后查看您的项目
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 创建项目
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/Login.vue b/src/views/Login.vue
new file mode 100644
index 0000000..d90ed40
--- /dev/null
+++ b/src/views/Login.vue
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-build.js b/test-build.js
deleted file mode 100644
index ae46068..0000000
--- a/test-build.js
+++ /dev/null
@@ -1,26 +0,0 @@
-const { execSync } = require('child_process');
-
-console.log('🧪 开始测试 DeployHelper 前端项目...\n');
-
-try {
- // 检查依赖是否安装
- console.log('📦 检查依赖...');
- execSync('npm list --depth=0', { stdio: 'inherit' });
- console.log('✅ 依赖检查通过\n');
-
- // 检查构建
- console.log('🔨 测试构建...');
- execSync('npm run build', { stdio: 'inherit' });
- console.log('✅ 构建测试通过\n');
-
- console.log('🎉 所有测试通过!项目可以正常运行。');
- console.log('\n📝 使用说明:');
- console.log('1. 开发模式:npm run dev');
- console.log('2. 构建生产版本:npm run build');
- console.log('3. 预览构建结果:npm run preview');
- console.log('\n🌐 访问地址:http://localhost:3000');
-
-} catch (error) {
- console.error('❌ 测试失败:', error.message);
- process.exit(1);
-}
\ No newline at end of file
diff --git a/vite.config.js b/vite.config.js
index 9f1fc1b..183cb54 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -11,11 +11,11 @@ export default defineConfig({
}
},
server: {
- port: 3000,
+ port: 8080,
open: true,
proxy: {
'/api': {
- target: 'http://localhost:8080',
+ target: 'http://localhost:3000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}