This commit is contained in:
2024-05-16 18:42:57 +02:00
commit 5c62d24034
44 changed files with 1306 additions and 0 deletions

23
templates/base.html Normal file
View File

@@ -0,0 +1,23 @@
{% load django_vite %}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
{% block base_css %}
{% block css %}{% endblock %}
<link rel="stylesheet" href="{% vite_asset_url "style/main.css" %}">
{% endblock %}
</head>
<body>
{% block content %}<p id="app">hello world</p>{% endblock %}
{% block base_js %}
{% vite_hmr_client %}
{% vite_asset "entrypoint/app.js" %}
{% block js %}{% endblock %}
{% endblock %}
</body>
</html>