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