chore: initialize Vite setup

This commit is contained in:
coderwei 2025-05-21 11:37:16 +08:00
parent f08329eef4
commit 8abae324a5
5 changed files with 592 additions and 5725 deletions

View File

@ -1,11 +1,11 @@
VUE_APP_API_HOST=http://localhost:5678
VUE_APP_WS_HOST=ws://localhost:5678
VUE_APP_USER=18888888888
VUE_APP_PASS=12345678
VUE_APP_ADMIN_USER=admin
VUE_APP_ADMIN_PASS=admin123
VUE_APP_KEY_PREFIX=GeekAI_DEV_
VUE_APP_TITLE="Geek-AI 创作系统"
VUE_APP_VERSION=v4.1.8
VUE_APP_DOCS_URL=https://docs.geekai.me
VUE_APP_GIT_URL=https://github.com/yangjian102621/geekai
VITE_APP_API_HOST=https://chat.geekai.me
VITE_APP_WS_HOST=wss://chat.geekai.me
VITE_APP_USER=18888888888
VITE_APP_PASS=12345678
VITE_APP_ADMIN_USER=admin
VITE_APP_ADMIN_PASS=admin123
VITE_APP_KEY_PREFIX=GeekAI_DEV_
VITE_APP_TITLE="Geek-AI 创作系统"
VITE_APP_VERSION=v4.1.8
VITE_APP_DOCS_URL=https://docs.geekai.me
VITE_APP_GIT_URL=https://github.com/yangjian102621/geekai

View File

@ -1,7 +1,7 @@
VUE_APP_API_HOST=
VUE_APP_WS_HOST=
VUE_APP_KEY_PREFIX=GeekAI_
VUE_APP_TITLE="Geek-AI 创作系统"
VUE_APP_VERSION=v4.1.8
VUE_APP_DOCS_URL=https://docs.geekai.me
VUE_APP_GIT_URL=https://github.com/yangjian102621/geekai
VITE_APP_API_HOST=
VITE_APP_WS_HOST=
VITE_APP_KEY_PREFIX=GeekAI_
VITE_APP_TITLE="Geek-AI 创作系统"
VITE_APP_VERSION=v4.1.8
VITE_APP_DOCS_URL=https://docs.geekai.me
VITE_APP_GIT_URL=https://github.com/yangjian102621/geekai

15
web/index.html Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>geekai</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="./src/main.js"></script>
</body>
</html>

View File

@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
@ -43,17 +43,14 @@
"devDependencies": {
"@babel/core": "7.18.6",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"@vitejs/plugin-vue": "^5.2.4",
"autoprefixer": "^10.4.20",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"postcss": "^8.4.49",
"stylus": "^0.58.1",
"stylus-loader": "^7.0.0",
"tailwindcss": "^3.4.17",
"webpack": "^5.90.3"
"vite": "^6.3.5"
},
"eslintConfig": {
"root": true,

File diff suppressed because it is too large Load Diff