Refactorisation de Vite

This commit is contained in:
2024-09-09 15:39:55 +02:00
parent bebcf91515
commit e6ac7c6c85
4 changed files with 56 additions and 88 deletions

View File

@@ -11,13 +11,11 @@ if (!$this->title) $this->title = 'Openai';
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= $this->escape($this->title) ?></title>
<?= $this->head() ?>
<?= $this->vite('main.css') ?>
</head>
<body class="d-flex align-items-center py-4">
<?= $content ?>
<?= $this->endBody() ?>
<?= $this->vite('main.js') ?>
</body>
</html>