4 ms·
I think the best part about Vuejs right now is how simple it is and everything just works! A vue component is still as simple as {template: 'hi'}. You don't ne
by superasn 7y ago
I think the best part about Vuejs right now is how simple it is and everything just works!
A vue component is still as simple as {template: 'hi'}. You don't need webpack or any transliteration for it to work. Just drop the script tag like the good old jQuery and it's working! No wonder it has gained so much popularity as I don't think you can make it more KISS.
Transition from vue1 to vue2 was really simple. I just hope that when the dust settles and things are finalized, Vue remains true to it's core of keeping things simple.
- williamdclt 7y agoI keep hearing this "a vue component is still as simple as {template: 'hi'}". Genuine question: I've been using Vue for the last couple of months, is anybody actually using this in the real world? Instead of vue-cli apps with single-file components (which is the other argument often seen)?
- DanielBMarkham 7y agoI am. I wrote a bang-simple extensible blogging system several months ago using Vue. I started very, very simple. I ended up with multi-component files. No vue-cli. Three files. A few hundred lines of code. Works fine. Never had to touch it again.
- Waterluvian 7y agoMight I ask if you could open source it? I badly need dead simple Real World examples.
- DanielBMarkham 7y agoSure. Hell I'll not only open-source it, I'll do a 10-minute video walkthru if I can get some coders to watch and ask questions.
- brylie 7y agoIf you upload it to YouTube, I'll watch and probably have a question or two for the comments section :-)
- DanielBMarkham 7y agoHere you go. Ping me if you need anything. I came in cold, having not looked at the code in 5 months. I figured that would make for a much more honest walk-through than doing a lot of prep beforehand. https://www.youtube.com/watch?v=IKFMA8G_dng https://www.youtube.com/watch?v=IKFMA8G_dng
- BeyondLimits99 7y agoCheckout Gridsome too :)
- mythrwy 7y agoI am on a reasonably sized project (which I didn't start but took over). It's just an easier better way to enhance existing server rendered pages to include responsive elements without needing all the single page/routing stuff nor dealing with mass of jQuery binds and hand rolled data stores. And best part is, Vue plays quite nicely with jQuery so can still use existing libraries and elements.
- rhengles 7y agoI also am. I love the simplicity of vue api, but I hate vue-cli, webpack(it is good because it's configurable and extensible, but it's overwhelmingly complex, all the output formats are a pain to debug, I have never seen sourcemaps work in chrome developer tools) and single file components. That led me to create my own architecture to scaffold vue apps, which Evan You seems to hate. https://github.com/vuejs/vue/issues/8106 https://github.com/vuejs/vue/issues/8106 In this comment, I showcased some production apps running with this: https://github.com/vuejs/vue/issues/8106#issuecomment-386064203 https://github.com/vuejs/vue/issues/8106#issuecomment-386064... https://github.com/vuejs/vue/pull/8807 https://github.com/vuejs/vue/pull/8807 I have improved this architecture even further in new apps, but I hadn't time yet to update the "vue-generator" boilerplate.
- deleted 7y ago[deleted]
- gbuk2013 7y agoI am using it that way an app I wrote for our company. I do have a custom bundler that will make a minified file for production environment but it just runs the source files through “terser”.
- forgot-my-pw 7y agoSometimes all I need is data binding. And Rivets.js seems to be defunct.