Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks nice. +1 for enclosing JS in a script tag.

Vuejs has a nice component compiler: https://github.com/vuejs/vue-component-compiler

It puts JS inside of a script tag, which would fix some of the parsing issues, and also fix syntax highlighting. It also provides hooks for pre-processors. Have you considered this approach?



Need to consider the script tag.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: