From 9e902513b850b2b66ec17007e7c84afc4650946e Mon Sep 17 00:00:00 2001 From: zhontai <361243234@qq.com> Date: Fri, 23 Feb 2024 15:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E5=90=AB=E5=89=8D=E7=AB=AFbin?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + ui/zhontai.ui.admin.vue3/bin/build.bat | 12 ++++++++++++ ui/zhontai.ui.admin.vue3/bin/install.bat | 12 ++++++++++++ ui/zhontai.ui.admin.vue3/bin/run-web.bat | 12 ++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 ui/zhontai.ui.admin.vue3/bin/build.bat create mode 100644 ui/zhontai.ui.admin.vue3/bin/install.bat create mode 100644 ui/zhontai.ui.admin.vue3/bin/run-web.bat diff --git a/.gitignore b/.gitignore index 6c9d8cbf..4a83bf2a 100644 --- a/.gitignore +++ b/.gitignore @@ -401,3 +401,4 @@ FodyWeavers.xsd !**/ZhonTai.Admin/Core/Logs !**/views/admin/logs /ZhonTai.sln.EasyRun.json +!**/zhontai.ui.admin.vue3/bin diff --git a/ui/zhontai.ui.admin.vue3/bin/build.bat b/ui/zhontai.ui.admin.vue3/bin/build.bat new file mode 100644 index 00000000..684229d9 --- /dev/null +++ b/ui/zhontai.ui.admin.vue3/bin/build.bat @@ -0,0 +1,12 @@ +@echo off +echo. +echo 发布网站,生成dist文件 +echo. + +%~d0 +cd %~dp0 + +cd .. +npm run build + +pause \ No newline at end of file diff --git a/ui/zhontai.ui.admin.vue3/bin/install.bat b/ui/zhontai.ui.admin.vue3/bin/install.bat new file mode 100644 index 00000000..fefe3ac0 --- /dev/null +++ b/ui/zhontai.ui.admin.vue3/bin/install.bat @@ -0,0 +1,12 @@ +@echo off +echo. +echo 安装包,生成node_modules文件 +echo. + +%~d0 +cd %~dp0 + +cd .. +npm install --registry=https://registry.npmmirror.com + +pause \ No newline at end of file diff --git a/ui/zhontai.ui.admin.vue3/bin/run-web.bat b/ui/zhontai.ui.admin.vue3/bin/run-web.bat new file mode 100644 index 00000000..e1c97fd0 --- /dev/null +++ b/ui/zhontai.ui.admin.vue3/bin/run-web.bat @@ -0,0 +1,12 @@ +@echo off +echo. +echo 运行网站 +echo. + +%~d0 +cd %~dp0 + +cd .. +npm run dev + +pause \ No newline at end of file