let's work in iterations.
firstly, let's start with making localhost http api calls between services.
in that way, @/service.js will be:
// src/service.js
import * as profileService from '@/profile/service.js' // yet to decompose, or won't decompose
import * as userService from 'midnqp-backend-userservice' // npm install git+https://github.com/midnqp/backend-userservice.git
export {profileService as profile}
export {userService as user}