Cambios #2
@ -4,7 +4,7 @@ VITE_APP_LANG=es-MX
|
|||||||
VITE_APP_PORT=3000
|
VITE_APP_PORT=3000
|
||||||
VITE_PAGINATION=25
|
VITE_PAGINATION=25
|
||||||
|
|
||||||
VITE_APP_API=http://localhost:8080 #Colocar http://localhost:8080 con el puerto del backend / http://backend.golscontrol.test
|
VITE_API_URL=http://localhost:8080
|
||||||
VITE_APP_API_SECURE=false
|
VITE_APP_API_SECURE=false
|
||||||
|
|
||||||
VITE_MICROSERVICE_STOCK=http://localhost:3000/api
|
VITE_MICROSERVICE_STOCK=http://localhost:3000/api
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
services:
|
services:
|
||||||
holos-frontend:
|
comal-pagos-frontend:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT}:5173"
|
- "${APP_PORT}:5173"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/holos.frontend
|
- .:/var/www/comal-pagos.frontend
|
||||||
- /var/www/holos.frontend/node_modules
|
- /var/www/comal-pagos.frontend/node_modules
|
||||||
networks:
|
networks:
|
||||||
- holos-network
|
- comal-pagos-network
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
holos-network:
|
comal-pagos-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
@ -1,6 +1,6 @@
|
|||||||
FROM node:22-alpine AS build
|
FROM node:22-alpine AS build
|
||||||
|
|
||||||
WORKDIR /var/www/holos.frontend
|
WORKDIR /var/www/comal-pagos.frontend
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
#! /bin/bash
|
#! /bin/sh
|
||||||
|
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f colors.json ]; then
|
if [ ! -f colors.css ]; then
|
||||||
cp colors.json.example colors.json
|
cp colors.css.example colors.css
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
BIN
public/logo.png
Normal file
BIN
public/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
@ -19,6 +19,6 @@ const home = () => {
|
|||||||
class="flex w-full justify-center items-center space-x-2 cursor-pointer"
|
class="flex w-full justify-center items-center space-x-2 cursor-pointer"
|
||||||
@click="home"
|
@click="home"
|
||||||
>
|
>
|
||||||
<img :src="$page.app.logo" class="h-20" />
|
<img :src="'/logo.png'" class="h-20" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -35,9 +35,9 @@ onMounted(() => {
|
|||||||
to="dashboard.index"
|
to="dashboard.index"
|
||||||
/>
|
/>
|
||||||
<Link
|
<Link
|
||||||
icon="person"
|
icon="add_home"
|
||||||
name="profile"
|
name="Crear Dirección"
|
||||||
to="profile.show"
|
to="address.index"
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
<Section
|
<Section
|
||||||
|
|||||||
9
src/pages/App/Address/Index.vue
Normal file
9
src/pages/App/Address/Index.vue
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<script setup>
|
||||||
|
import PageHeader from '@Holos/PageHeader.vue';
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<PageHeader title="Dashboard" />
|
||||||
|
<p><b>{{ $t('welcome') }}</b>, {{ $page.user.name }}.</p>
|
||||||
|
</template>
|
||||||
@ -48,6 +48,16 @@ const router = createRouter({
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'address',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
name: 'address.index',
|
||||||
|
component: () => import('@Pages/App/Address/Index.vue')
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user