How to I setup/use a custom element e.e GitHub - bluewatertracks/bwt-datatable: Data table with Polymer 3 support! in Polymer client.
- Add required component to the bower.json
{
...
dependencies: {
"bwt-datatable": "bluewatertracks/bwt-datatable#^1.0.8"
}
...
}
- Import the component
<link rel="import" href="../bower_components/bwt-datatable/bwt-datatable.html">
(please not that href path is relative)
3. Use it as any other component
<bwt-datatable ....>
It worked. Thank you.