3 ms·
My experience so far moving from angular 1 to vuejs. I was coming from using gulp to build angular 1 projects. I understand gulp. Might be a bit verbose, but I
by buckbova 10y ago
My experience so far moving from angular 1 to vuejs.
I was coming from using gulp to build angular 1 projects. I understand gulp. Might be a bit verbose, but I get it.
Vue seems more tailored toward webpack as a module loader/build tool. It took me awhile to wrap my head around this and using webpack in general.
Truly yak shaving.
So I came up with a good build script with babel, code splitting, vue component loader, cache bust, minify, etc. All good. The vue-cli looked helpful, but it didn't really do much but download one of a few templates, which I felt did too much.
Finally I can start coding . . . so far so good. Do know, batteries are not included. With angular it's basically all there ready to use. With vue, npm install, import and use it or roll your own.
Managing the data is different. If you come from a background writing modular code, it'll be easier to $digest. If you relied on angular constructs like service, controller, 2-way binding and didn't think about it too deeply then it'll take some getting used to. I'm still getting used to vuex.
There's more . . . maybe after I finish a project with vue.