如何将Polymer

编程入门 行业动态 更新时间:2024-10-22 13:55:13
本文介绍了如何将Polymer-redux与Polymer-Build一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我目前已经基于聚合物自定义构建.我已经修改了该项目,以添加 polymer-redux 的用法.从那时起,当尝试使用命令gulp build生成捆绑项目时,我遇到了以下问题

I've currently started a new project based on Polymer Custom Build. I've modified the project in order to add usage of polymer-redux. Since then, when trying to build a bundled project using the command gulp build, I have the following problem

[unknown-polymer-behavior]-无法解决行为ReduxBehavior.您导入了吗?它用@polymerBehavior注释吗?

[unknown-polymer-behavior] - Unable to resolve behavior ReduxBehavior. Did you import it? Is it annotated with @polymerBehavior?

使用ReduxBehavior = PolymerRedux(store);声明ReduxBehavior是很不常见的.

Declaring the ReduxBehavior is done using ReduxBehavior = PolymerRedux(store); which is not very usual.

有人成功地使Polymer-build和Polymer-redux一起工作了吗?

Anybody succeeded to make both of polymer-build and polymer-redux work together ?

推荐答案

您可以使用Redux Application检查Polymer 2的示例存储库.

You can check the sample repo for Polymer 2 with Redux Application.

github/kumarargutech/polymer-redux

希望对您有帮助!

更多推荐

如何将Polymer

本文发布于:2023-08-02 11:42:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1277520.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何将   Polymer

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!