保存进度

This commit is contained in:
2025-08-08 01:31:39 +08:00
parent 614ab49a5e
commit d5644ccc45
4 changed files with 936 additions and 127 deletions

View File

@@ -0,0 +1,16 @@
# .env.development
VITE_APP_API_URL=http://localhost:3000/api
VITE_APP_WEBSOCKET_URL=ws://localhost:3000/socket
VITE_APP_AUTH_TOKEN=development-token-12345
VITE_APP_FEATURE_FLAG=true
VITE_APP_DEBUG_MODE=true
VITE_APP_ANALYTICS_ID=dev-analytics-id
VITE_APP_LOG_LEVEL=debug
VITE_APP_THEME=light
VITE_APP_LANGUAGE=en-US
VITE_APP_MOCK_DATA=true
VITE_APP_CORS_ORIGIN=http://localhost:3000
VITE_APP_TIMEOUT=5000
VITE_APP_RETRY_ATTEMPTS=3
VITE_APP_CACHE_ENABLED=true

File diff suppressed because it is too large Load Diff

View File

@@ -9,20 +9,28 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"vue": "^3.5.17" "vue": "^3.5.18"
}, },
"devDependencies": { "devDependencies": {
"@stylistic/eslint-plugin": "^5.2.2", "@stylistic/eslint-plugin": "^5.2.2",
"@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0", "@typescript-eslint/parser": "^8.39.0",
"@vitejs/plugin-vue": "^6.0.0", "@vitejs/plugin-vue": "^6.0.1",
"@vue-office/docx": "^1.6.3",
"@vue-office/excel": "^1.7.14",
"@vue-office/pdf": "^2.0.10",
"@vue/tsconfig": "^0.7.0", "@vue/tsconfig": "^0.7.0",
"axios": "^1.11.0",
"element-plus": "^2.10.5", "element-plus": "^2.10.5",
"eslint": "^9.32.0", "eslint": "^9.32.0",
"eslint-plugin-vue": "^10.4.0", "eslint-plugin-vue": "^10.4.0",
"typescript": "~5.8.3", "sass": "^1.90.0",
"vite": "^7.0.4", "sass-loader": "^16.0.5",
"typescript": "~5.9.2",
"vite": "^7.1.0",
"vue-demi": "^0.14.10",
"vue-eslint-parser": "^10.2.0", "vue-eslint-parser": "^10.2.0",
"vue-tsc": "^2.2.12" "vue-router": "^4.5.1",
"vue-tsc": "^3.0.5"
} }
} }

View File

@@ -4,11 +4,12 @@ import { ref } from "vue";
defineProps<{ msg: string }>(); defineProps<{ msg: string }>();
const count = ref( 0 ); const count = ref( 0 );
const title = import.meta.env.VITE_APP_AUTH_TOKEN;
</script> </script>
<template> <template>
<h1>{{ msg }}</h1> <h1>{{ msg }}</h1>
<h1>{{ title }}</h1>
<div class="card"> <div class="card">
<button <button
type="button" type="button"