fix: Better JS lib handling

This commit is contained in:
Dendy 2024-02-24 07:38:48 +01:00
parent 608977ba76
commit abc380aa81
5 changed files with 18 additions and 4 deletions

View File

@ -1 +0,0 @@
{ "dependencies": { "htmx": "^0.0.2" } }

File diff suppressed because one or more lines are too long

7
static/scripts/easymde/easymde.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
static/scripts/htmx.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -8,10 +8,10 @@
<title>{% block title %}{% endblock %} - {{ config.get("name") }}</title> <title>{% block title %}{% endblock %} - {{ config.get("name") }}</title>
<link rel="stylesheet" href="https://unpkg.com/easymde/dist/easymde.min.css"> <link rel="stylesheet" href="{{ url_for('static', filename='scripts/easymde/easymde.min.css') }}">
<script src="https://unpkg.com/easymde/dist/easymde.min.js"></script> <script src="{{ url_for('static', filename='scripts/easymde/easymde.min.js') }}"></script>
{# <script src="{{ url_for('static', filename='lib/htmx.min.js') }}"></script> #} <script src="{{ url_for('static', filename='scripts/htmx.min.js') }}"></script>
<link <link
rel="stylesheet" rel="stylesheet"