美文网首页
query-string最新版本无法用webpack构建项目

query-string最新版本无法用webpack构建项目

作者: 发发呆哟 | 来源:发表于2018-09-19 19:17 被阅读8次

    query-string这个库用于解析和组装react-router中携带的参数

    问题原因:It's the inverse, actually. It's Create React App that doesn't support the ecosystem. Use npm install query-string@5 if you use CRA. Sorry for the trouble, but this is all on CRA which has refused to co-operate with the community and just tells users to annoy maintainers.

    解决方案:降级至5.x版本
    参考资料:query-string Request

    相关文章

      网友评论

          本文标题:query-string最新版本无法用webpack构建项目

          本文链接:https://www.haomeiwen.com/subject/auqwnftx.html