I am using Polymer 1.0 and I would like to make my code modular with use of ES6. My idea is to create a few different files with function definitions which I would import to the .html file containing my polymer component definition where I could call them.
I tried to put the import statement into both created and attached polymer functions, but neither works.
Is that what I am trying even possible? If yes, then where should i put my import statement?
from How to import javascript function with use of ES6 to Polymer 1.0 component?
No comments:
Post a Comment