Here's what I did: - Added `container_name` for `api` and `ui` services in `docker-compose.yml`. - Created `ui/src/apiClient.js` to configure the API base URL using the API container name (`http://planilla-api:4000/api`). - Added `axios` as a dependency to the UI project. - Ensured UI store files correctly import the new `apiClient.js`. This will allow your UI to reliably connect to the API service using Docker's internal DNS resolution via container names.
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.