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
VITE_PROXY_PREFIX = /srv/
# 打包输出文件夹名称
VITE_OUTDIR = sku_request
VITE_OUTDIR = mlaj
# 是否开启调试
VITE_CONSOLE = 0
......
###
# 资源公共路径
VITE_BASE = /f/main/sku_request/
VITE_BASE = /f/mlaj/
# 测试open-id
VITE_APP_OPENID =
......
......@@ -26,3 +26,4 @@ dist-ssr
.history
node_modules
.vscode
mlaj
......
# Vue 3 + Vite
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.
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
美乐爱觉项目
测试环境网站
https://oa-dev.onwall.cn/f/mlaj
......
......@@ -6,7 +6,13 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"tar": "tar -czvpf dist.tar.gz reserve",
"build_tar": "npm run build && npm run tar",
"scp-dev": "scp dist.tar.gz ipadbiz-inner:/opt/space-dev/f",
"dec-dev": "ssh ipadbiz-inner 'cd /opt/space-dev/f && tar -xzvf dist.tar.gz && rm -rf dist.tar.gz'",
"remove_tar": "rm -rf dist.tar.gz",
"dev_upload": "npm run build_tar && npm run scp-dev && npm run dec-dev && npm run remove_tar"
},
"dependencies": {
"@vant/use": "^1.6.0",
......