Jeremy-DX
Jeremy-DX
> > @atian25 我们之前拿egg做了个审批流的项目, 就是上的TS方案, 封装了几个装饰器完成路由去中心化, 自动校验等功能. 也做了schema, pipes, exceptions 这些约定。 **总体上实施后团队基本没在框架上花什么时间, 项目在紧张的排期中顺利上线**。最后暴露出的明显的问题主要是 1 TS支持程度不完善 2 单元测试 3 不少新手不太清楚controller和service的界限。 > > controller和service的界限是什么 service就是controller中复杂逻辑的抽象;比如一个users的controller一个commits的controller,都需要获取/写入个人信息的逻辑,然后这段代码长达几百上千行,你可以把这些代码的业务逻辑写到service中,达到两个controller中可以复用这块逻辑。
A fix of this problem https://github.com/Jeremy-DX/nuxt-page-cache
> npm install psd.js > and > import PSD from 'psd.js/dist/psd.min' I tried but got an error ``` header.js?7c99:42 Uncaught Error: Invalid file signature detected. Got:
This error may be caused by your local VPN. When I close my local VPN, it works again.