tur-nr / polymer-redux

Polymer bindings for Redux.
https://tur-nr.github.io/polymer-redux
MIT License
440 stars 67 forks source link

polymer 3.x (per import) #120

Closed pixelass closed 6 years ago

pixelass commented 6 years ago

Importable version

Allows this repository to be imported directly into the browser.

The following import will now work as expected (without a build process)

Use the import

import PolymerRedux from '../node_modules/polymer-redux/src/index.js'

No more <script> tags and global pollution

<script src="/node_modules/polymer-redux/lib/index.js"></script>
pixelass commented 6 years ago

I am currently having problems adjusting the tests since bower is still required by web-components-tester. https://github.com/Polymer/web-component-tester/issues/582

(.. getting there though)

So it seems like we can't fully remove bower yet 😢

tur-nr commented 6 years ago

See polymer-3 branch.

TimPietrusky commented 6 years ago

I successfully included polymer-3 into my project and everything is working.

Thank you super much!