Hello guys i have a trouble with using javascript plugin on polymer. How i include and use javascript plugin in my project.
@JavaScript("js/main.js")
this is my java class using javascript annotation. But its not working.
And here is my html
<link rel="import" href="../../bower_components/polymer/polymer-element.html">
<dom-module id="main-page">
<template>
<style>
</style>
</template>
<script>
class MainPage extends Polymer.Element {
static get is() {
return 'main-page'
}
}
customElements.define(MainPage.is, MainPage);
</script>
</dom-module>
Any advice ?