From 1c8657ae194ea6c597ab9e4d739ba4ac0d606073 Mon Sep 17 00:00:00 2001 From: zzl <961867786@qq.com> Date: Mon, 2 Aug 2021 08:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 启动.bat | 18 ++++++++++++++++++ 安装.bat | 18 ++++++++++++++++++ 打包.bat | 14 ++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 启动.bat create mode 100644 安装.bat create mode 100644 打包.bat diff --git a/启动.bat b/启动.bat new file mode 100644 index 00000000..259fe003 --- /dev/null +++ b/启动.bat @@ -0,0 +1,18 @@ +@echo off + +D: +cd D:\workspace\code\nsgk_mobile + + +::安装依赖 +:: npm install + +::强烈建议不要用直接使用 cnpm 安装,会有各种诡异的 bug,可以通过重新指定 registry 来解决 npm 安装速度慢的问题。 +:: npm install --registry=https://registry.npm.taobao.org + +::本地开发 启动项目 +npm run dev + + +@echo SUCCESS +pause \ No newline at end of file diff --git a/安装.bat b/安装.bat new file mode 100644 index 00000000..cc11e237 --- /dev/null +++ b/安装.bat @@ -0,0 +1,18 @@ +@echo off + +D: +cd D:\workspace\code\nsgk_mobile + + +::安装依赖 +npm install + +::强烈建议不要用直接使用 cnpm 安装,会有各种诡异的 bug,可以通过重新指定 registry 来解决 npm 安装速度慢的问题。 +npm install --registry=https://registry.npm.taobao.org + +::本地开发 启动项目 +:: npm run dev + + +@echo SUCCESS +pause \ No newline at end of file diff --git a/打包.bat b/打包.bat new file mode 100644 index 00000000..8f786c02 --- /dev/null +++ b/打包.bat @@ -0,0 +1,14 @@ +@echo off + +D: +cd D:\workspace\code\nsgk_mobile + + + + +:: 打包预发布环境 +npm run build + + +@echo SUCCESS +pause \ No newline at end of file