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