I have been looking at vuejs and they do have great documentation/tutorials etc, however I feel it's more based around components rather than the entire DOM. Although, they are bringing out vuejs 2.0 which uses a "virtual DOM" which could be good but I'm not sure - I just don't get excited about it. A colleague is currently using it A LOT, and I'm just not sure of it's benefits. Seems like a lot of black magic.
Perhaps someone could clarify for me - Consider the case: A web chat on a website, the chat itself is built using vuejs ( or insert similar framework here), and the rest of the website isn't. Now, can you just include the code and a CDN to go with it or does it require to be properly installed on the host server using npm installs etc? OR.....
Can you host the vue js code on a separate server then just call it in as CDN?
Forgive me, but this is one area I get quite confused about as I don't see how you can build a module to include in a website using a seperate code base. Or do devs just do things like npm installs etc for dev environments then just minify the code and include it with a CDN of dependencies on a given website?