1๐
I think building an application node.js and view.js is good for small applications.
For larger applications, I advise you to create an REST API in node (with express.js for example). it will be easier to maintain because the two codes will be separated and a big advantage is that if your API remains open you can call it with another interface (mobile application for example).
- [Vuejs]-Sorting index of array based on another array of Object in javascript/Vue
- [Vuejs]-Token is missing in my vue app
Source:stackexchange.com