chore: Setup tailwindcss using Standalone CLI

This commit is contained in:
2024-07-03 18:43:35 +02:00
parent 984738d4f6
commit 3c539ba10b
9 changed files with 610 additions and 2 deletions

View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

1
templates/hello.html Normal file
View File

@ -0,0 +1 @@
Hello, {{ name }}!

13
templates/index.html Normal file
View File

@ -0,0 +1,13 @@
<html>
<head>
<title>Krys4lide</title>
<script src="https://unpkg.com/htmx.org@2.0.0/dist/htmx.js" integrity="sha384-Xh+GLLi0SMFPwtHQjT72aPG19QvKB8grnyRbYBNIdHWc2NkCrz65jlU7YrzO6qRp" crossorigin="anonymous"></script>
<link href="/assets/css/style.css" rel="stylesheet">
</head>
<body>
<h1 class="test text-3xl font-bold underline">Krys4lide</h1>
<button hx-get="/hello" hx-target="#hello">Hello!</button>
<div id="hello"></div>
</body>
</html>