FhcApp uses vueRouter4; CisApp checks for global router instance and routes internally as long as a path/routename/component setup is defined, if that is not the case use the provided href link; WIP moving apps like Profil, MyLv etc into components to be navigated by FhcApp;

This commit is contained in:
Johann Hoffmann
2025-01-15 14:10:08 +01:00
parent bae7b330f8
commit f60f735fa8
11 changed files with 274 additions and 37 deletions
@@ -0,0 +1,32 @@
<?php
$includesArray = array(
'title' => 'Cis4',
'axios027' => true,
'bootstrap5' => true,
'fontawesome6' => true,
'tabulator5' => true,
'vue3' => true,
'primevue3' => true,
'customCSSs' => array(
'public/css/components/verticalsplit.css',
'public/css/components/searchbar.css',
'public/css/Fhc.css',
'public/css/components/dashboard.css'
),
'customJSs' => array(
'vendor/npm-asset/primevue/accordion/accordion.js',
'vendor/npm-asset/primevue/accordiontab/accordiontab.js'
),
'customJSModules' => array(
'public/js/apps/Dashboard/Fhc.js'
),
);
$this->load->view('templates/CISVUE-Header', $includesArray);
?>
<div id="fhccontent">
<router-view view-data-string='<?php echo json_encode($viewData) ?>'></router-view>
</div>
<?php $this->load->view('templates/CISVUE-Footer', $includesArray); ?>