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:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-21 23:33:28 +01:00
1 parent 0af74267b9
commit 8ea459e5f1
10 files changed
+1702

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
(() => {
const token = document.querySelector('meta[name="csrf-token"]')?.content;
window.api = axios.create({
baseURL: "/api/v1",
headers: token ? { "X-CSRF-Token": token } : {},
withCredentials: true,
});
})();