Finish to setup data access

This commit is contained in:
isUnknown 2024-07-11 12:42:29 +02:00
parent 90c998fa41
commit 80f72e7dc9
10 changed files with 73 additions and 36 deletions

View file

@ -1 +1 @@
<h1><?= $page->title() ?></h1>
<h1><?= $page->title() ?></h1>

View file

@ -0,0 +1,7 @@
<?php
$specificData = [];
$data = array_merge($genericData, $specificData);
echo json_encode($data);

View file

@ -1,3 +1 @@
<?php snippet('header') ?>
<div id="app"></div>
<?php snippet('footer') ?>
<?php snippet('generic-template') ?>