Hacker Newsnew | past | comments | ask | show | jobs | submit | sotaan's commentslogin

new Function(...) isn't equivalent to an eval


It's how `vue-template-compiler` works to transform a template into render functions.

checkout here: https://github.com/vuejs/vue/blob/dev/packages/vue-template-...

also checkout last 'state of Vue.js' on YT where the creator talks about it ;)


Awesome, thanks for the pointer.


where is your link?


Your README don't explain how I can/should integrate it in an existing Vue project. Let's say I use the webpack-simple template to scaffold my project... I really would like to give it a try


me too ^^ this is really good work


can you explain me very simply what did you achieve and what is that crypto.cat is for basicly (not an expert in crypto but I wanna learn) ?


can you show your code please? seems like you are using Vue 2


there is a problem with your TEMPLATE_DIR variable inside your script. I sended you a pull request.


Thanks, I really appreciate the effort


how do you plug it with your npm tasks?


what technologies are you using there?


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

Search: