2👍
Try to put your script tag in the end of the body instead of the head.
When the script loads inside the head-tag, the body doesn’t exist yet.
👤Nick
- [Vuejs]-How to extract only year from date in vue js html and print only that year?
- [Vuejs]-How to convert camel case to proper case in Vue.js?
Source:stackexchange.com