brizer
brizer
非常棒!!
Why not refer to `axios· and solve this problem through the adapter? For example: ``` js function getDefaultAdapter() { var adapter; if (typeof XMLHttpRequest !== 'undefined') { // For browsers...
> In the same vein, couldnt you dynamically import gitbeaker/node or gitbeaker/browser? I just do it now. I don’t want you to use axios, but you can refer to it...
Enhancements to this feature are necessary. Otherwise other custom decorators can't get metadata to do their own thing.
What's going on?
依赖找不到的问题,可以用https://nodejs.org/api/cli.html#cli_preserve_symlinks 这个解决的,朋友们
> @brizer 请问这个--preserve-symlinks 是node命令,怎么使用? 举个例子,你用vscode调试的时候,a依赖了b,而b是npm link的,那么在a项目的调试配置中加一句: ``` json "runtimeArgs":[ "--preserve-symlinks" ] ``` 就可以修改b,顺便调试a了。
> @brizer 我这是一个webpack构建的web项目,比如a依赖b, a和b都依赖vue这个框架,我通过构建a跑在webpack-dev-server上,用chrome打开调试,这个我该如何操作呢 微信 brizer1992 单独聊,没太明白你问题是什么。
@VictorWu90 优秀