nodejs v4.5.0版本
设置国内镜像
npm config set registry https://registry.npm.taobao.org
npm3(安装完毕nodejs后升级npm3: npm -g install npm@3
)
- React Developer Tools
- Redux DevTools
- livereload
npm install
npm start
npm run dev
http://localhost:8989
node_modules/_dora-plugin-proxy@0.8.5@dora-plugin-proxy/lib/index.js
先执行npm run build:dll
,之后执行npm start
可以大大减少构建数量,
然后将src/entris/index.html里的<script src="./dlls/vendor.dll.js"></script>
打开。
先全量更新包npm install
或者单个新增依赖包npm install --save-dev increase-memory-limit
然后执行npm run fix-memory-limit
apps 目录 - src/entries index.html - src/reducers - src/routes - alias.js - proxy.config.js 菜单 - InitMenuTreeByUser.do - menu.json