我目前已经基于聚合物自定义构建.我已经修改了该项目,以添加 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
发布评论