How to add chrismas.js from ts-website 1.0 to ts-website 2.0.
froland20 opened this issue · 1 comments
froland20 commented
Hello,
I would like to use the chrimast snow effect on the ts website 2.0.
I removed from the script the css file import, and successfully uploaded to js folder with christmas.js.
Imported this code to body.latte: <script src="js/christmas.js"></script>
But when I reloading the page I got syntax error message.
Can you help me?
Wruczek commented
I really discourage it, its all JS animation and its very CPU heavy, especially on mobile.