Layout Feature
How to Use Layouts in INEX SPA
// layouts/main.php
<title><?= $title; ?></title>
<body>
<?= Layout::section('content'); ?>
</body>// web/index.php
<?php
Layout::start('content');
?>
<h1>Hi, From INEX SPA</h1>
<?php
Layout::end();Conclusion
Last updated