hookehuyr

chore: 更新项目配置和文档以适应美乐爱觉项目

更新了README.md文件以添加项目名称和测试环境链接。在.gitignore中添加了mlaj目录的忽略规则。修改了.env和.env.production文件中的VITE_BASE和VITE_OUTDIR配置以匹配新项目名称。删除了旧的README copy.md文件。在package.json中添加了新的脚本以支持项目构建和部署流程。
...@@ -8,7 +8,7 @@ VITE_PROXY_TARGET = https://oa.onwall.cn ...@@ -8,7 +8,7 @@ VITE_PROXY_TARGET = https://oa.onwall.cn
8 VITE_PROXY_PREFIX = /srv/ 8 VITE_PROXY_PREFIX = /srv/
9 9
10 # 打包输出文件夹名称 10 # 打包输出文件夹名称
11 -VITE_OUTDIR = sku_request 11 +VITE_OUTDIR = mlaj
12 12
13 # 是否开启调试 13 # 是否开启调试
14 VITE_CONSOLE = 0 14 VITE_CONSOLE = 0
......
1 ### 1 ###
2 # 资源公共路径 2 # 资源公共路径
3 -VITE_BASE = /f/main/sku_request/ 3 +VITE_BASE = /f/mlaj/
4 4
5 # 测试open-id 5 # 测试open-id
6 VITE_APP_OPENID = 6 VITE_APP_OPENID =
......
...@@ -26,3 +26,4 @@ dist-ssr ...@@ -26,3 +26,4 @@ dist-ssr
26 .history 26 .history
27 node_modules 27 node_modules
28 .vscode 28 .vscode
29 +mlaj
......
1 -# Vue 3 + Vite
2 -
3 -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4 -
5 -Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
1 +美乐爱觉项目
2 +
3 +测试环境网站
4 +https://oa-dev.onwall.cn/f/mlaj
......
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
6 "scripts": { 6 "scripts": {
7 "dev": "vite", 7 "dev": "vite",
8 "build": "vite build", 8 "build": "vite build",
9 - "preview": "vite preview" 9 + "preview": "vite preview",
10 + "tar": "tar -czvpf dist.tar.gz reserve",
11 + "build_tar": "npm run build && npm run tar",
12 + "scp-dev": "scp dist.tar.gz ipadbiz-inner:/opt/space-dev/f",
13 + "dec-dev": "ssh ipadbiz-inner 'cd /opt/space-dev/f && tar -xzvf dist.tar.gz && rm -rf dist.tar.gz'",
14 + "remove_tar": "rm -rf dist.tar.gz",
15 + "dev_upload": "npm run build_tar && npm run scp-dev && npm run dec-dev && npm run remove_tar"
10 }, 16 },
11 "dependencies": { 17 "dependencies": {
12 "@vant/use": "^1.6.0", 18 "@vant/use": "^1.6.0",
......