本地开发
res - Egg React SSR 框架 - 开发简单,扩展性行强, 支持 JavaScript 或 Typescript 编写, 默认支持 Vue 服务端渲染,前端渲染模式,Asset 渲染,HTML 渲染多种渲染模式。
Date:
2020-04-18
Word Count:
219
Read Times:
1 Min
Read Count:
Node 调试
- 然后复制 chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9999/ws_proxy 到 chrome 地址栏,进入 Sources Tab,在指定的代码处打断点即可调试,更多请见 vscode 调试
res debug
构建调试
- res build webpack 编译, 会进行文件 hash, minify
- res print 检查 Webpack 配置 是否生效或者正确
res build
res build --server
- res tsc TypeScript 编译 Node 端(本地直接 ts-node 运行,发布模式需要编译成 js 文件)
res tsc
- res print 检查 Webpack 配置 是否生效或者正确
res print --help
res print
res print --web 打印前端 webpack 配置
res print -n module.rules[0].use[0]
Reprint policy:
All articles in this blog are used except for special statements
CC BY 4.0
reprint polocy. If reproduced, please indicate source
sky
!