AnthonMS / my-cards

Bundle of my custom Lovelace cards for Home Assistant. Includes: my-slider, my-slider-v2, my-button
Other
99 stars 26 forks source link

Manual Install - Uncaught SyntaxError: Unexpected identifier #24

Closed bljohnsondev closed 2 years ago

bljohnsondev commented 2 years ago

When adding the my-cards.js file to Home Assistant during a manual install it is throwing the following error:

/local/my-cards.js:95:14 Uncaught SyntaxError: Unexpected identifier

AnthonMS commented 2 years ago

You should grab the one from the dist directory instead of the uncompiled version. :)