init with kirby, vue and pagedjs interactive
This commit is contained in:
commit
dc0ae26464
968 changed files with 211706 additions and 0 deletions
5
public/site/snippets/footer.php
Normal file
5
public/site/snippets/footer.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
</div> <!-- #app -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
29
public/site/snippets/header.php
Normal file
29
public/site/snippets/header.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
<?= e($page->isHomePage() != true, $page->title() . ' - ') . $site->title() ?>
|
||||
</title>
|
||||
|
||||
<link rel="stylesheet" href="<?= url('assets/style.css') ?>">
|
||||
|
||||
<!-- À SUPPRIMER EN PRODUCTION -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive">
|
||||
|
||||
<!-- APP -->
|
||||
<?php if (Dir::exists('assets/dist')): ?>
|
||||
<script type="module"
|
||||
src="<?= url('assets/dist/index.js') ?>" defer></script>
|
||||
<link rel="stylesheet"
|
||||
href="<?= url('assets/dist/index.css') ?>">
|
||||
<?php else: ?>
|
||||
<script type="module" src="http://localhost:5173/@vite/client" defer></script>
|
||||
<script type="module" src="http://localhost:5173/src/main.js" defer></script>
|
||||
<?php endif ?>
|
||||
</head>
|
||||
|
||||
<body data-template="<?= $page->template() ?>">
|
||||
<div id="app">
|
||||
0
public/site/snippets/index.html
Normal file
0
public/site/snippets/index.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue