StEve YoUng

Results 69 comments of StEve YoUng

api 封装那部分我也搞了个库 https://github.com/tuateam/tua-api 中间件直接用 koa-compose...

没捣鼓过,其实就是智能提示一个对象的 key...

确实搞不定,api是运行时生成的… 除非用类似 quokka.js 之类的插件边跑代码才行…

嗨~,最近发现新建 `*.d.ts` 就可以实现在 ide 里接口的智能提示了~~

pr welcome~ 不好意思,最近比较忙哈

``` ➜ degit --help (node:86027) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '[email protected]/node_modules/degit/dist/help.md' ```

感觉是这里这个缓存的问题,试了下官方的 code snippet 也失去同步了... https://github.com/vuejs/vuepress/blob/a6ae5082a709c3aefc89cd9d8c9ba464f6f52179/packages/%40vuepress/markdown-loader/index.js#L37

文件指的是 md 文件,md 文件没变化,所以读的缓存

Version: 0.4.0 Reopen this issue, because we can not generate header tokens during `md.parse` https://github.com/vuejs/vuepress/blob/cbafe8f562df45f0e9399abf3298da80f5159c1a/packages/%40vuepress/shared-utils/src/extractHeaders.ts#L22-L37