Live data from Hacker News

Vue.js 2.1 Released

github.com

81–90 of 126 posts

Re: Vue.js 2.1 Released

#81

For folks who haven't tried Vue yet, I just completed my first project with it and I'm really excited about using it more. Specifically, I used learning Vue as an opportunity to upgrade a simple jQuery-based SPA (with a PHP backend) to ES6, JS modules and Vue. It was a little hairy to bite off all of that stuff at once, but the Vue community was really helpful. In contrast to more monolithic frameworks I didn't have…

Thanks. With this coupon "CNETBF2016" it's now just $10 and I bought it at that price!

Guessing that's an affiliate promotion code?

Re: Vue.js 2.1 Released

#83

I'm looking to move a few projects from Angular 1. What do developers think of migrating to Angular 2 vs Vue for this? I've played with Angular 2 but can't shake the feeling that it's overly complex.

The upgrade adapter isn't ready for primetime yet from what I gathered.

Can't speak for Vue, but Angular 2 is pretty nice, and the performance benefits are significant. There are some complexities, mainly around AoT compilation, but those are challenges that one would come across if one wanted that anyway.

Re: Vue.js 2.1 Released

#84
I've been a long time React and Angular user, but is still sick to implement correctly enough SSR for my projects. And VueJS just did it elegantly ! I must say, thank all React + Angular folks as the pioneer for better CHANGES. This is THE time for us to change. Really.

Re: Vue.js 2.1 Released

#85

For folks who haven't tried Vue yet, I just completed my first project with it and I'm really excited about using it more. Specifically, I used learning Vue as an opportunity to upgrade a simple jQuery-based SPA (with a PHP backend) to ES6, JS modules and Vue. It was a little hairy to bite off all of that stuff at once, but the Vue community was really helpful. In contrast to more monolithic frameworks I didn't have…

Thanks a lot for the link! I was looking for a way to learn more about vue.js and this is a great chance.

Re: Vue.js 2.1 Released

#86

Earlier quoted context omitted.

Angular 2, not worth it. We made our decision to migrate an old Angular 1 app to Vue.js. Best decision ever.

> Angular 2, not worth it. We made our decision to migrate an old Angular 1 app to Vue.js. Best decision ever. Can you elaborate? I've used Angular 1 a lot, Angular 2 a little and Vue not at all. What makes Vue better?

Vue feels very light, and you can use as much or as little as you need. With Angular 2 you really need to dive in, understanding modules, DI, Typescript, components, the various decorators properties, observables, etc. I like Angular 2 personally, but it really is quite heavy.

Re: Vue.js 2.1 Released

#87
I really miss 1.0's inline way of writing javascript anywhere inside the dom (attributes) via {{ execute_raw_js_code() }} as well as the ability to run filters on it. Is there anyway to get them back on Vue 2? I have to admit, this was a major step back for me when upgrading to Vue 2 from Vue 1.

I also really loved the Vue 1's way of handling transitions. Now having them inside it's own wrapper really diminishes the elegance I felt from Vue 1.

Wish there was some ways to get them back instead of having to downgrade.

Re: Vue.js 2.1 Released

#88
post #39

I tried to use Vue 2 for a pet project but couldn't get the routing to work. It seems the router was lagging behind in versions and there were no guides on "router 2.0". Does this version have a routing guide and production ready routing solution? That's pretty important.

Took less than two seconds to google. https://github.com/vuejs/vue-router

This is the project they were referring to by "2.0". And your two seconds of googling found a Github URL with no documentation, which is what the commenter was lamenting.

http://router.vuejs.org/en/ does appear to be fairly complete however. (linked from the README)

Re: Vue.js 2.1 Released

#90
post #14

Earlier quoted context omitted.

Have you checked the Awesome Vue [0] list of components? There are many there that support v2 [0] https://github.com/vuejs/awesome-vue

Yes, I've looked at that list, but some of the components I'd like to use are still not compatible (Keen UI, for instance).

I'm using Keen UI @next a little. I had to hack it just a tad to propagate some click events but otherwise it was fine.
Post reply on HN