Open tmwebs opened 2 months ago
I did not realize that this is the master view for this, I have already adapted it and it works correctly, now I have a doubt, my first link is budgets, can I make it so that when loading the master view by default the first option is selected?
<template>
<div class="page" data-name="about">
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="link back">
<i class="icon icon-back"></i>
<!-- <span class="if-not-md">Back</span> -->
</a>
</div>
<div class="title">${titulo_pagina}</div>
</div>
</div>
<div class="page-content">
<div class="list links-list list-strong inset">
<ul>
<li><a href="/presupuestos/${id_bod}/" data-reload-detail="true">Presupuestos</a></li>
<li><a href="/eventos/" data-reload-detail="true">Eventos</a></li>
</ul>
</div>
</div>
</div>
</template>
y mi route.js:
{
path: '/bodas-mas/:id_bod/',
component: BodasMas,
master: true, // Indica que esta es la ruta maestra para el diseño master-detail
detailRoutes: [
{
path: '/presupuestos/:id_bod/',
component: Presupuestos,
},
]
},
I am trying to get dynamic content loading, I have a .f7 page in which I have a left menu and a right container, if I am on mobile, the left menu I want to open a new page (this if it works), but if I am on tablet I want the left menu to load the page in the right container, I am using async but I don't get it, I show my code:
Page with the containers:
my routes.js file
my page budgets.f7: