TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Vue.js 2.1 Released

243 pointsby sadiqmmmover 8 years ago

24 comments

CharlesWover 8 years ago
For folks who haven&#x27;t tried Vue yet, I just completed my first project with it and I&#x27;m really excited about using it more.<p>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&#x27;t have to port everything at once, and the re-implementation of the bits I did port are <i>sooo</i> much cleaner.<p>FWIW, there&#x27;s a highly-rated Vue.js 2&#x2F;Vuex Udemy course on sale for an impulse price of $14 (normally $190) as I type this. With the caveat that I <i>just</i> bought the course myself, at that price it seems like a useful resource even if you only have a cursory interest in Vue.<p><a href="https:&#x2F;&#x2F;www.udemy.com&#x2F;vuejs-2-the-complete-guide&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.udemy.com&#x2F;vuejs-2-the-complete-guide&#x2F;</a>
评论 #13025460 未加载
评论 #13024528 未加载
评论 #13024885 未加载
评论 #13027019 未加载
评论 #13026239 未加载
w0utertover 8 years ago
So far my Vue.js experience has been great. Even though I don&#x27;t particularly enjoy front-end development and the tools and techniques I&#x27;m supposed to use for them, Vue.js has been a breath of fresh air between my frustrations with HTML, Javascript, npm, CSS, HTTP and all the other things that are needed to stitch everything together. It really is a great framework.<p>The one thing that does still bug me these days is that even now that Vue 2.1 is out, many components I&#x27;d like to use are still not compatible with Vue 2.x, and almost all the Vue tutorials, questions, solutions, etc. I find are about Vue 1.x, which is mostly incompatible with Vue 2.x. But that should improve over time, of course.
评论 #13022975 未加载
评论 #13022905 未加载
评论 #13022900 未加载
myf01dover 8 years ago
I am sorry if this sounds too ignorant, are frameworks like Vue.js (I actually read the guide and understood some wonderful things about its philosophy since I am actually developing backend mainly) or React, etc.. reasonable to use in websites in general (instead of jquery or taking some tasks from it) or they actually only reasonable for mobile web applications and SPAs?<p>What about the SEO and search engine rendering to custom HTML elements like in Vue.js components? is it okay or affects SEO?
评论 #13024177 未加载
评论 #13023976 未加载
评论 #13023602 未加载
评论 #13023541 未加载
评论 #13023573 未加载
评论 #13023517 未加载
评论 #13023909 未加载
评论 #13023951 未加载
评论 #13026126 未加载
评论 #13023652 未加载
vitomdover 8 years ago
I don´t know why Riot.js (another js framework) don&#x27;t attract more people. I used it and it´s awesome. Today they launched the 3.0.0 version <a href="http:&#x2F;&#x2F;riotjs.com&#x2F;release-notes&#x2F;" rel="nofollow">http:&#x2F;&#x2F;riotjs.com&#x2F;release-notes&#x2F;</a> . Here is a quick introduction <a href="http:&#x2F;&#x2F;vitomd.com&#x2F;blog&#x2F;coding&#x2F;hello-riot-js-quick-tutorial-about-this-awesome-lib&#x2F;" rel="nofollow">http:&#x2F;&#x2F;vitomd.com&#x2F;blog&#x2F;coding&#x2F;hello-riot-js-quick-tutorial-a...</a> I highly recommend it.
评论 #13025398 未加载
评论 #13039294 未加载
buckbovaover 8 years ago
&gt; <a href="http:&#x2F;&#x2F;mithril.js.org&#x2F;comparison.html" rel="nofollow">http:&#x2F;&#x2F;mithril.js.org&#x2F;comparison.html</a><p>&gt; Vue&#x27;s implementation cleverly hijacks array methods, but it should be noted that Javascript Arrays cannot be truly subclassed and as such, Vue suffers from abstraction leaks.<p>Can anyone who knows how vue is implemented explain this statement?
评论 #13044500 未加载
AtticusTheGreatover 8 years ago
I&#x27;ve been using Vue.js for a new project and it is a breath of fresh air after using React. It has all the benefits of Knockoutjs (which was my gateway into these types of frameworks), but much nicer in-code organization (I&#x27;m looking at you ko.observable).
dpnewmanover 8 years ago
I am always looking for the fastest way to build a complete app. Brought me to Rails. Then to Meteor&#x2F;React (which was mixed). Then some Rails&#x2F;React which is ok.<p>Vue looks really appealing on the simplicity and completeness side.<p>I would like to know from people using Vue what backends you&#x27;re using. In order to complete the loop - the simplest stack overall Vue+???.
评论 #13027265 未加载
评论 #13027706 未加载
aikahover 8 years ago
Nice, I love Vue.js it is light weight yet fulfill 90% of the needs of a large SPA without a third party language, some bureaucratic dependency injection and without getting in the developer&#x27;s way by mandating this or that build tool. But competition is good so I&#x27;m glad there is a front end framework for everyone out there.
评论 #13023428 未加载
shams93over 8 years ago
I&#x27;m going to build a vuejs markdown site editor similar to Gatsby I just don&#x27;t like Facebook it&#x27;s refreshing that an independent project is gaining popularity the server side rendering is a big deal when you want to support mobile well.
评论 #13023746 未加载
syncover 8 years ago
Is this looking a lot like Angular 1.x to anyone else? I&#x27;ve heard it&#x27;s actually more similar to React but I&#x27;m not seeing it... ?
评论 #13023057 未加载
评论 #13022892 未加载
评论 #13023907 未加载
评论 #13022984 未加载
评论 #13026896 未加载
评论 #13022886 未加载
评论 #13023112 未加载
butu5over 8 years ago
Pleasure to work in Vue.js framework. Very easy learning curve. Simplicity is the biggest strength of this framework.<p>I have created few tutorials on Vue.js.<p><a href="https:&#x2F;&#x2F;m.youtube.com&#x2F;playlist?list=PLJ6Y8JfXAV-8_2lHNgP1DhCwvB6le3rty" rel="nofollow">https:&#x2F;&#x2F;m.youtube.com&#x2F;playlist?list=PLJ6Y8JfXAV-8_2lHNgP1DhC...</a>
overcastover 8 years ago
So glad this project is gaining more and more traction. Been using it since very early releases, when I was sick of dealing with overly complex front end libraries.
od14over 8 years ago
I&#x27;m really excited about the scoped slots feature. Finally it&#x27;s really easy to create components that can be customized by the user from the outside. For example, it&#x27;s now really easy to create a data table (with features like filters and sort), and with each row showing not only the data text, but also any other feature you might want to embed in it (like attach click listeners to each row, or popup some menu on hover).<p>I believe there was a way (probably a complicated hacky way) to achieve this previously too, but I never investigated it too much. Now it&#x27;s really easy.<p>Kudos to the Vue team for this release!
M4v3Rover 8 years ago
In case someone user Meteor - Vue plays very nice with Meteor and there exists a great integration package [1], which means if you&#x27;re familiar with Meteor you can write full stack applications with it very easily and quickly with it. The package supports hot module replacement out-of-the-box. It&#x27;s also dead simple to start using it, if you already have Meteor installed it&#x27;s a matter of running &quot;npm install&quot; and &quot;meteor&quot;.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;Akryum&#x2F;meteor-vue-component" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Akryum&#x2F;meteor-vue-component</a>
seanwilsonover 8 years ago
I&#x27;m looking to move a few projects from Angular 1. What do developers think of migrating to Angular 2 vs Vue for this? I&#x27;ve played with Angular 2 but can&#x27;t shake the feeling that it&#x27;s overly complex.
评论 #13024094 未加载
评论 #13024169 未加载
评论 #13024157 未加载
评论 #13024082 未加载
评论 #13024870 未加载
nkgover 8 years ago
I still wonder why they moved the events from the constructor to the instance...<p>Before 2.0:<p>new Vue({ el: &quot;#el&quot;, data: someData, events: { myevent: function(){} } });<p>after 2.0 :<p>vm.$on(&#x27;myevent&#x27;, function () {})
评论 #13025679 未加载
bedrosover 8 years ago
I found this guy creating a todo app using all popular js frameworks<p><a href="https:&#x2F;&#x2F;github.com&#x2F;tastejs&#x2F;todomvc&#x2F;tree&#x2F;master&#x2F;examples" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tastejs&#x2F;todomvc&#x2F;tree&#x2F;master&#x2F;examples</a><p>including vue.js riot.js react, meteor, angular 1,2 dojo, duel, ember, jquery ....<p>it&#x27;s a great way to compare frameworks
jaequeryover 8 years ago
I really miss 1.0&#x27;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.<p>I also really loved the Vue 1&#x27;s way of handling transitions. Now having them inside it&#x27;s own wrapper really diminishes the elegance I felt from Vue 1.<p>Wish there was some ways to get them back instead of having to downgrade.
评论 #13025635 未加载
woogleyover 8 years ago
I&#x27;m currently using (and enjoying) my first Vue project. I have to say the camelcase support for JSX events feels like a step backwards. The `on-` prefix had a nice semantic way of telling you that thing is an event (either DOM or $emit from component). Now there&#x27;s just this implicit `onFoo` which could be an event, or could be a prop, maybe component will invoke it directly like in React, maybe it will $emit, who knows?
tivover 8 years ago
I&#x27;ve been waiting for scoped slots for so long. I&#x27;ve implemented several workarounds since I started using Vue a year ago. Creating a directive to pre-compile a slot template in the child scope in Vue 1, and then once Vue 2 rolled around, making lots of functional components and passing them around. So glad they finally added this.
revskillover 8 years ago
I&#x27;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.
评论 #13025796 未加载
sergiotapiaover 8 years ago
I tried to use Vue 2 for a pet project but couldn&#x27;t get the routing to work. It seems the router was lagging behind in versions and there were no guides on &quot;router 2.0&quot;.<p>Does this version have a routing guide and production ready routing solution? That&#x27;s pretty important.
评论 #13023687 未加载
评论 #13023671 未加载
chinathrowover 8 years ago
Are there any migration guides from jQuery to Vue which are noteworthy?
vbitover 8 years ago
I have some projects in Mithril - is it worth it port to Vue?
评论 #13025952 未加载