4 ms·
What is Vue specific about it? Looking through the code, I don't see anything.
by TekMol 8y ago
What is Vue specific about it? Looking through the code, I don't see anything.
- algorithm_dk 8y agoIt's a Vue component, how is that not Vue specific? - https://github.com/runkids/Imagvue/blob/master/src/imagvue.js https://github.com/runkids/Imagvue/blob/master/src/imagvue.j...
- tomelders 8y agoBut what advantages does a Vue component offer over just doing the same thing with CSS? It's not going to be any more performant because it's not addressing a part of the rendering engine that Vue has any influence over. And you're not saving keystrokes because you've still got to instantiate the component and pass values to the props. All it does as far as I can tell is abstract away something that's trivial to do manually.
- mahesh_rm 8y agoVue components are structured in such a way (props, methods, data, computed properties, etc.) which is the same of the file you can find within the SRC folder of the project.