Cambios #2
@ -4,7 +4,7 @@ VITE_APP_LANG=es-MX
|
||||
VITE_APP_PORT=3000
|
||||
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_MICROSERVICE_STOCK=http://localhost:3000/api
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
services:
|
||||
holos-frontend:
|
||||
comal-pagos-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "${APP_PORT}:5173"
|
||||
volumes:
|
||||
- .:/var/www/holos.frontend
|
||||
- /var/www/holos.frontend/node_modules
|
||||
- .:/var/www/comal-pagos.frontend
|
||||
- /var/www/comal-pagos.frontend/node_modules
|
||||
networks:
|
||||
- holos-network
|
||||
- comal-pagos-network
|
||||
|
||||
networks:
|
||||
holos-network:
|
||||
comal-pagos-network:
|
||||
driver: bridge
|
||||
@ -1,6 +1,6 @@
|
||||
FROM node:22-alpine AS build
|
||||
|
||||
WORKDIR /var/www/holos.frontend
|
||||
WORKDIR /var/www/comal-pagos.frontend
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#! /bin/bash
|
||||
#! /bin/sh
|
||||
|
||||
if [ ! -f .env ]; then
|
||||
cp .env.example .env
|
||||
fi
|
||||
|
||||
if [ ! -f colors.json ]; then
|
||||
cp colors.json.example colors.json
|
||||
if [ ! -f colors.css ]; then
|
||||
cp colors.css.example colors.css
|
||||
fi
|
||||
|
||||
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"
|
||||
@click="home"
|
||||
>
|
||||
<img :src="$page.app.logo" class="h-20" />
|
||||
<img :src="'/logo.png'" class="h-20" />
|
||||
</div>
|
||||
</template>
|
||||
@ -35,9 +35,9 @@ onMounted(() => {
|
||||
to="dashboard.index"
|
||||
/>
|
||||
<Link
|
||||
icon="person"
|
||||
name="profile"
|
||||
to="profile.show"
|
||||
icon="add_home"
|
||||
name="Crear Dirección"
|
||||
to="address.index"
|
||||
/>
|
||||
</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