Gert Cuykens Gert Cuykens - 27 days ago 9
TypeScript Question

Polymer 2.x typescript decorators example

This is where I am so for https://github.com/gertcuykens/decorators but I am strugeling how to go from the generated

decorators.js
to something I can use in my
index.html
? I guess I need to use webpack or something but I am not sure. When I try webpack it can't bundle my webcomponent into a working
bundle.js
for my
index.html


I know its a bit of a brought question maybe but I am out of ideas how to make my
index.html
work?

Answer

I finally have a working example alleluia, but not sure if polymer imd is better than the requirejs I am using.

https://github.com/gertcuykens/decorators