feat(web): set up templ layout with tailwindcss 4.3 and axios
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
0af74267b9
commit
8ea459e5f1
10 files changed
+1702
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package web
|
||||
|
||||
templ Layout(title string) {
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>{ title }</title>
|
||||
<link rel="stylesheet" href="/static/dist/app.css"/>
|
||||
<script src="/static/dist/axios.min.js" defer></script>
|
||||
<script src="/static/dist/app.js" defer></script>
|
||||
</head>
|
||||
<body class="min-h-screen">
|
||||
{ children... }
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
Reference in new issue
Block a user