diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..8313e91 --- /dev/null +++ b/.env.development @@ -0,0 +1,3 @@ +# .env.development +VITE_APP_PROXY_BASE_API = 127.0.0.1:8080 +VITE_APP_SOCKET_BASE_URl = ws://192.168.8.12:8080/websocket/message \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..f28ee2d --- /dev/null +++ b/.env.production @@ -0,0 +1,3 @@ +# .env.production +VITE_APP_PROXY_BASE_API = +VITE_APP_SOCKET_BASE_URl = ws://49.232.62.212:8020/websocket/message \ No newline at end of file diff --git a/.gitignore b/.gitignore index a19f004..a547bf3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,24 @@ -# ---> Vue -# gitignore template for Vue.js projects -# -# Recommended template: Node.gitignore +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* -# TODO: where does this rule come from? -docs/_book - -# TODO: where does this rule come from? -test/ +node_modules +dist +dist-ssr +*.local +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/README.md b/README.md index 8c7b619..1511959 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ -# eacychatting +# Vue 3 + Vite -文件传输助手 \ No newline at end of file +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..5d37661 --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "easychatting", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite --host", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "vue": "^3.4.29", + "vue-clipboard3": "^2.0.0" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^5.0.5", + "vite": "^5.3.1" + } +} diff --git a/public/images/default.png b/public/images/default.png new file mode 100644 index 0000000..76dfd8a Binary files /dev/null and b/public/images/default.png differ diff --git a/public/images/doc.png b/public/images/doc.png new file mode 100644 index 0000000..2650185 Binary files /dev/null and b/public/images/doc.png differ diff --git a/public/images/pdf.png b/public/images/pdf.png new file mode 100644 index 0000000..06af6b0 Binary files /dev/null and b/public/images/pdf.png differ diff --git a/public/images/xls.png b/public/images/xls.png new file mode 100644 index 0000000..0647a0c Binary files /dev/null and b/public/images/xls.png differ diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/wechat.svg b/public/wechat.svg new file mode 100644 index 0000000..4ab6de7 --- /dev/null +++ b/public/wechat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..914921f --- /dev/null +++ b/src/App.vue @@ -0,0 +1,501 @@ + + +