wip: change assets handling to vite-rs

This commit is contained in:
Alexander Navarro 2025-04-21 20:14:07 -04:00
parent 14a4d9b2b3
commit f5e398c933
5 changed files with 66 additions and 24 deletions

View file

@ -5,8 +5,8 @@
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="dark light" name="color-scheme">
<!-- if development -->
<script src="http://localhost:21012/@vite/client" type="module"></script>
<link href="http://localhost:21012/frontend/assets/css/style.scss" rel="stylesheet"/>
{{ load_vite_script() | safe }}
<link href="/assets/css/style.scss" rel="stylesheet"/>
<script src="/assets/js/index.ts" type="module"></script>
<script src="htmx.org" type="module"></script>
<title>