...
|
...
|
@@ -23,6 +23,8 @@ MAC: export NODE_ENV= |
|
|
|
|
|
gulp-develop-server 默认环境变量为development
|
|
|
|
|
|
## 如果是mac本地开发最简单方式:code/package.json 文件的scriptt.code 配置为export NODE_ENV=, windows系统不需要做修改
|
|
|
|
|
|
*基于现在代码*需要修改code/index.js中代码如下:
|
|
|
|
|
|
![image.png](https://cdn.nlark.com/yuque/0/2020/png/193477/1584516481215-733870c2-587f-48e7-9750-b60a068913f0.png#align=left&display=inline&height=378&name=image.png&originHeight=756&originWidth=1350&size=158284&status=done&style=none&width=675)
|
...
|
...
|
|