We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.正在写一个插件,用的是最新的dora版本,需要依赖webpack和proxy插件。 此插件需要传入多个值。 测试中发现
当启动参数中有&符号的时候类似a=xxx&b=xxx,启动会中断,效果如下,按住command+c退出后,proxy和dora端口依然被占用中无法启用。 启动参数: ../../node_modules/.bin/dora -p 8062 --plugins webpack?publicPath=/web/,proxy?port=9857,../../lib/index.js?file=mock/ceshi.js&filter=post
当启动参数用json格式解析时,query参数获取不到。用README中例子同样,如果去掉例子中去掉"verbose":true则直接报错,貌似value只能是boolean值可以接收到。 启动参数: '../../node_modules/.bin/dora -p 8062 --plugins webpack?publicPath=/web/,proxy?port=9857,../../lib/index.js?{"file": "mock.js"}'
还好用-c来指定配置文件到启动方式,问题暂时已解决,但是如上两种启动方式在实践中不能正常,还请帮忙看下~
BTW: 还有server启动周期中, applyPlugin只有callback方式才能接收到memo。如果是generator function则接收不到momo。
The text was updated successfully, but these errors were encountered:
& 在 shell 中是特殊字符,需要转义或者用 "" 把参数括起来。
&
""
Sorry, something went wrong.
对,应该第一个问题是这个原因,没反应过来,谢谢指点。
No branches or pull requests
1.正在写一个插件,用的是最新的dora版本,需要依赖webpack和proxy插件。
此插件需要传入多个值。
测试中发现
当启动参数中有&符号的时候类似a=xxx&b=xxx,启动会中断,效果如下,按住command+c退出后,proxy和dora端口依然被占用中无法启用。
启动参数: ../../node_modules/.bin/dora -p 8062 --plugins webpack?publicPath=/web/,proxy?port=9857,../../lib/index.js?file=mock/ceshi.js&filter=post
当启动参数用json格式解析时,query参数获取不到。用README中例子同样,如果去掉例子中去掉"verbose":true则直接报错,貌似value只能是boolean值可以接收到。
启动参数: '../../node_modules/.bin/dora -p 8062 --plugins webpack?publicPath=/web/,proxy?port=9857,../../lib/index.js?{"file": "mock.js"}'
还好用-c来指定配置文件到启动方式,问题暂时已解决,但是如上两种启动方式在实践中不能正常,还请帮忙看下~
BTW: 还有server启动周期中, applyPlugin只有callback方式才能接收到memo。如果是generator function则接收不到momo。
The text was updated successfully, but these errors were encountered: