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] - Unable to resolve behavior
ReduxBehavior
. Did you import it? Is it annotated with @polymerBehavior?
Declaring the ReduxBehavior is done using ReduxBehavior = PolymerRedux(store);
which is not very usual.
Anybody succeeded to make both of polymer-build and polymer-redux work together ?
You can check out this Polycast edition.
Here is the code
You can also check the Simpla repo
Basically you create a
polymer-redux-store-html
:and include it in any element where you need the
ReduxBehavior
You can check the sample repo for Polymer 2 with Redux Application.
https://github.com/kumarargutech/polymer-redux
I hope it's helpful to you!