DEV Community

Discussion on: Managing API layers in Vue.js with TypeScript

jamalroger profile image

Good point, but still too long in opinion usually i used ServiceApi directly from the controller to have full control of data.

Thread Thread
blindkai profile image
Blind Kai Author

If you're sure that things won't change and you won't need to change them - it's fine.
If there are several developers which use the same public API, you probably want things to work the same for everything to keep the style it a good state.