-
已star大佬
另外想问下有没有什么好的eggjs学习资源,最近在用这个框架
最好是文字文档教学型的,当然视频也可以接受
-
你好大佬 我想请教下eggjs怎么使用apm来获取路由名称?addpatch我用过好像不生效
wjeek updated
5 years ago
-
感觉大阿里的这个框架还是不错的!记录下使用的心得。
1. 执行 `npm start` 命令环境是会默认设置为 `prod` 的
2. `prod` 环境下运行日志是不会落到文件里的,需要配置 `disableConsoleAfterReady` 开启。参考:https://github.com/eggjs/egg/issues/1593
3. `prod` 环境下日志存储路径为…
-
`
conky@conkydeiMac LTGTVManager % yarn android
yarn run v1.22.10
$ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" fl…
-
请问 怎么把 eggjs 的npm run start 加入到 系统服务
-
```
➜ eggjs yo eggjs generator-eggjs-demo
_-----_ ╭──────────────────────────╮
| | │ Welcome to the epic │
|--(o)--| │ generator-eggjs │
`------…
-
- 背景:通过 cnpmcore 包集成方式来引入 3.43.4 版本的,先前使用 3.42.x 版本是正常的。
- 一些可能有关联的信息如下
- node: 18.17.1
- typescript:
![screen_shot_1693823731421](https://github.com/cnpm/cnpmcore/assets/2825625/dd39495b…
-
### 请详细告知你的新点子:
我希望给出使用simple创建js项目再切换ts,和使用tegg的相同点和不同点。
为什么官网没有给出相关的说明?只看readme没看出个所以然来,希望有个与官网文档类似的指导。
我的困惑是,现在推荐使用tegg还是这个方式?
https://www.eggjs.org/zh-CN/tutorials/typescript#%E6%8E%A7%E5%…
-
- https://stuk.github.io/jszip/
- https://eggjs.org/zh-cn/
实现一个网站提交数据后把特定文件压缩打包后浏览器出现下载的功能。
## 路由
````
'use strict';
/**
* @param {Egg.Application} app - egg application
*/
module.exp…
-
## 起因
Router 描述了请求 URL 与 Controller 的对应关系。Eggjs 约定所有的路由都需要在 app/router.js 中申明,目录结构如下:
```plain
┌ app
├── router.js
│ ├── controller
│ │ ├── home.js
│ │ ├── ...
```
路由和对应的处理方法分开在 2 个地…