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 2.0 is here

250 pointsby wassagoover 8 years ago

23 comments

throwaway13337over 8 years ago
Vue deserves quite a bit of attention.<p>It&#x27;s the simplest framework I&#x27;ve found to use in the same style as react (databinding, modules, etc) while still allowing you to use the html&#x2F;css you&#x27;ve probably already written.<p>This really shines when you want to do something not quite single page appy in your, for instance, bootstrap based site. E.g. a complex web form with some interactivity (autocomplete, add&#x2F;remove rows, one element affecting another element). This is complex enough to make it a pain to use jquery, but small enough not to want to rewrite the html in a react-compatible way.<p>That use case seems to be the majority case for me which makes Vue my primary tool these days for web front end.<p>Good stuff!
评论 #12615841 未加载
评论 #12615281 未加载
评论 #12615115 未加载
评论 #12625937 未加载
评论 #12616575 未加载
marcusbrownover 8 years ago
I came across Vue through Laravel and I think they are definitely the best frameworks for their own language (JS and PHP). And the best part is that with the latest versions (2.0 and 5.3) they are working really nice together. Almost as if they were part of the same ecosystem.<p>It&#x27;s incredible how easy it has become to make a new web app that has everything you need (registration, authentication, api, JWT, notifications,...) with just one command line (laravel new project). It&#x27;s a huge jumpstart that allows you to focus on what&#x27;s really important and forget about all the annoying boilerplate.<p>And since Vue.js is so well integrated with Laravel, you get all the benefits of the back-end also on the front-end. With all the authentication and API with JWT (and much more) ready to go, it becomes also a great way for newcomers to learn using Vue and play around with it.<p>These are 2 great videos of Evan You (creator of Vue.js) from Laracon 2016 <a href="https:&#x2F;&#x2F;streamacon.com&#x2F;video&#x2F;laracon-us&#x2F;evan-you-vuejs-workshop" rel="nofollow">https:&#x2F;&#x2F;streamacon.com&#x2F;video&#x2F;laracon-us&#x2F;evan-you-vuejs-works...</a> <a href="https:&#x2F;&#x2F;streamacon.com&#x2F;video&#x2F;laracon-us&#x2F;evan-you-vue-router-and-vuex" rel="nofollow">https:&#x2F;&#x2F;streamacon.com&#x2F;video&#x2F;laracon-us&#x2F;evan-you-vue-router-...</a>
rlanderover 8 years ago
Vue.js is by far the sanest framework available for JS, period. It has excellent docs, it is intuitive, well written and well maintained.<p>The only real complain that I have about the framework itself is about components. IMO they are the wrong abstraction (they smell suspiciously like objects ) and with their custom .vue extensions, are a pain to work with in my text editor.<p>With that said, after working on a fairly complex Vue app, I won&#x27;t be writing any Vue apps again. The reason has nothing to do with the framework itself: although it mostly tries to do the right thing, JS just pushes you in the opposite direction every time.
评论 #12627846 未加载
评论 #12615118 未加载
jakecodesover 8 years ago
We adopted Vue at GitLab. We couldn&#x27;t be happier. Our goal was to make frontend development simpler, and that&#x27;s exactly what happened. Vue isn&#x27;t strongly opinionated, it just let&#x27;s you get stuff done faster. You can just use Vue by itself, with solid javascript practices. It doesn&#x27;t try and &quot;fix&quot; javascript, it just makes things simpler. Evan, you&#x27;ve made an excellent framework. Thank you.<p>When we were deciding between a few other frameworks, the choice was very easy.
IgorPartolaover 8 years ago
Can anyone talk about their experience with Vue as opposed to Angular, Angular 2, and React&#x2F;Redux? I am fan of Angular 1, but Angular 2 seems to actually just be an inferior version of React&#x2F;Redux. At first glance Vue seems to be similar in spirit to Angular 1. Is that correct? Any first-hand experiences would be welcome.
评论 #12615104 未加载
评论 #12614772 未加载
评论 #12614775 未加载
评论 #12614855 未加载
评论 #12614945 未加载
评论 #12615297 未加载
评论 #12614781 未加载
评论 #12614773 未加载
joshmnover 8 years ago
I regularly loathe Javascript. I&#x27;m familiar enough jQuery to get by and enough Javascript to drive business value.<p>I haven&#x27;t touched Angular or React or Ember, mostly because of a distaste for Javascript, but also because I&#x2F;my clients had no need for all the complexity it adds and the little business value it brings. Turbolinks is just fine for me&#x2F;us&#x2F;them.<p>But I have played with Vue. I spent a weekend hacking something together and it lives in production today. I&#x27;m so incredibly impressed by the library it almost makes me want to play with it more.
tambourine_manover 8 years ago
Having briefly played with Vue.js before, it always seemed the nicest of the front end frameworks. At least the one that aligned best with the way I like to work (it doesn&#x27;t get in your way, much)<p>But I fear that the world is too small for 3 front end frameworks, specially when the other 2 are sponsored by Facebook and Google.<p>Do you think Vue.js has a chance? I hope it does
评论 #12615721 未加载
ineedtosleepover 8 years ago
&gt; The official supporting libraries and tools — vue-router, vuex, vue-loader and vueify — have all been updated to support 2.0. vue-cli now scaffolds 2.0-based projects by default.<p>Very nice. Personally, I&#x27;ve been waiting for the vue-cli bit before even thinking about touching 2.0 since I try to avoid trying to build my own JS toolset.
sotojuanover 8 years ago
Always good to see frameworks not built by big companies thrive.
评论 #12614980 未加载
评论 #12617471 未加载
kylestlbover 8 years ago
Vue has been my favorite view framework&#x2F;library&#x2F;whatever experience in JS thus far. Good docs, sensible supporting libraries, helpful community, easy to understand. Excited for 2.0.
AhmadIbrahimover 8 years ago
Vue is the easiest and most powerful framework I have ever used in my entire life..
microcipcipover 8 years ago
Forget Angular or React. VueJS 2.0 is the new shit. It really is an amazing framework. Good Job Evan!
znebbyover 8 years ago
For someone wanting to learn modern javascript, it&#x27;s so hard to know where to start. So many different frameworks to pick from.<p>There doesn&#x27;t seem to be much point asking for suggestions either, as everyone has a different opinion on what&#x27;s best.
评论 #12615373 未加载
评论 #12614890 未加载
评论 #12615031 未加载
评论 #12614883 未加载
评论 #12618298 未加载
orideconover 8 years ago
Does this &quot;new&quot; hyped framework needs entire libraries and basic components to be ported too? Every 12 months or so I check how the front-end mess is going and last time I tried a few React components and they all needed some compatibility layer with Bootstrap. Or they wouldn&#x27;t integrate nice with popular stuff I used before, in the jQuery spaghetti times (that&#x27;s when my front-end knowledged peaked).<p>Do we just throw away everything after a few months? At the time I couldn&#x27;t find good components or make the entire thing compatible (it&#x27;s the little bugs that get you), including &quot;basic&quot; stuff like a calendar with date and time, all the bootstrap components, select2. Not to mention proper i18n support. Oh, and it needs to work in every browser (at least the modern ones).<p>If Vue really is a react&#x2F;angular for toddlers (like me), I hope it wins and that soon there&#x27;s finally a component set that &quot;just works&quot; and doesn&#x27;t get rewritten every cycle. I&#x27;m talking about components that go beyond the 80% use case. That you can install without thinking twice. That you don&#x27;t have to worry if it&#x27;s going to be abandoned next week.
评论 #12616814 未加载
rhenglesover 8 years ago
On my job we just picked Vue for a new project, and it&#x27;s a great experience so far. We disliked the standard starter project with Webpack and its idioms, with un-inspectionable compiled javascript source code, but it was very simple and flexible to create our custom build. It&#x27;s really a awesome framework, with excelent docs (we were even using the release candidate of version 2.0).<p>(edit: typo)
评论 #12615549 未加载
octrefover 8 years ago
I hope it has first-class TypeScript support. Having worked in large TS codebase I can&#x27;t imagine going back to a JS codebase of the same size.<p>Angular has TS and React has Flow, but most of Vue projects seem to use neither. This is fine for small side-projects, but I&#x27;m wondering if anyone could share experience building large Vue apps without types.
评论 #12615156 未加载
welanesover 8 years ago
Vue.js is magic. As I&#x27;ve said before, it&#x27;s so simple it feels like cheating.<p>But take a look at the docs and the replies on Github issues for the other distinguishing feature - the give-a-sh*t-factor from Evan and the crew shines bright. Just about everything is understandable, purposeful and clear.
skcover 8 years ago
I love this framework. I came to it as a back end developer that needed to do some front end work and started off with Angular and then React. I couldn&#x27;t believe how complicated these two frameworks seemed to be as someone who&#x27;s done very little JavaScript coding. I then tried Vue and it was so simple, so logical and so productive.<p>What I love about it is that you can mostly intuit what to do to get something to work. It just feels very natural.<p>And the documentation is top notch.<p>I haven&#x27;t ported to Vue 2.0 yet but I suspect the only issues I&#x27;ll have will be with third party components built with Vue 1.0
fasteoover 8 years ago
Any good UI component library companion for Vue 2.0 you can recommend ? Something like Keen-UI<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;JosephusPaye&#x2F;Keen-UI&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JosephusPaye&#x2F;Keen-UI&#x2F;</a>
评论 #12617190 未加载
nojvekover 8 years ago
Does vue use vdom diffing? Last time I played with vue, it crawled when having a large number of bindings. Also it&#x27;s magical data binding doesn&#x27;t work very well for arrays of arrays.
评论 #12624042 未加载
评论 #12624935 未加载
robertwalsh0over 8 years ago
Congrats on the release!
mstijakover 8 years ago
Congrats!
mikelbringover 8 years ago
Also nice article on Vue.js 2.0 <a href="https:&#x2F;&#x2F;medium.com&#x2F;the-vue-point&#x2F;vue-2-0-is-here-ef1f26acf4b8#.rgh0t4wmv" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;the-vue-point&#x2F;vue-2-0-is-here-ef1f26acf4b...</a>
评论 #12614847 未加载