KeyToLove

Results 16 comments of KeyToLove

> It's not yet possible to have a `.d.ts` redirecting a type from another module. > > https://stackblitz.com/edit/node-jjgj6g?file=index.ts > > I'd consider it as a limitation of TypeScript. If anyone...

> 仓库看起来是没有维护了,你应该只能从源码上处理了

> > > > > > > > > 仓库看起来是没有维护了,你应该只能从源码上处理了 > > 源码怎么处理呀? 源码修改内容 https://github.com/ElemeFE/element/pull/22032 , `pagination`使用时添加属性 `:popper-append-to-body="false"`

看你们自己的处理方式,我建议是采用给源码打补丁的方式,工作量小 https://github.com/ds300/patch-package

> 请求是怎么走到 generate.ts文件里面的 这个是`vercel`的相关内容,vercel会默认把api目录下的文件当作`serverless functions`或者是`edge functions`,部署应用前端请求地址如果是/api开头会匹配api目录下对应的文件,即 请求`/api/generate` 就会走到`generate.ts`文件这个处理函数 ![image](https://user-images.githubusercontent.com/54970106/225187977-a89b7ee3-5c76-400f-ba8b-b17deaeccf7c.png) 详细解释可以参考文档对应位置:[vercel serverless functions](https://vercel.com/docs/concepts/functions/serverless-functions/quickstart)

> 解决了,因为docker-entrypoint.sh和env-replace.sh格式在windows中与linux中不同,需使用git的转换工具进行格式转换。 请问本地自行构建镜像的话,如何配置env呢?