refacto: add alpinejs, flowbite and htmx to app assets with explicit versions

This commit is contained in:
Florian Briand 2024-08-06 21:30:14 +02:00 committed by theo
parent 581bd2455e
commit 68376383fa
Signed by: theo
SSH Key Fingerprint: SHA256:IbehMhSwpXrGUj7vj9iVvfdwe3g09IL9KLUz0zFzcXU
5 changed files with 12 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,11 +3,11 @@
<head> <head>
<title>{% block title %}{{ title }}{% endblock %}</title> <title>{% block title %}{{ title }}{% endblock %}</title>
<script src="/assets/js/htmx.min.js"></script> <script src="/assets/js/htmx@2.0.1.min.js"></script>
<script src="//unpkg.com/alpinejs" defer></script> <script src="/assets/js/alpinejs@3.14.1.min.js" defer></script>
<link href="/assets/css/style.css" rel="stylesheet"> <link href="/assets/css/style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/flowbite@2.5.1/dist/flowbite.min.css" rel="stylesheet" /> <link href="/assets/css/flowbite@2.5.1.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/flowbite@2.5.1/dist/flowbite.min.js"></script> <script src="/assets/js/flowbite@2.5.1.min.js"></script>
{% block head %}{% endblock %} {% block head %}{% endblock %}
</head> </head>