Setup Golang server with Vue3 using InertiaJS

This commit is contained in:
2024-10-27 20:59:26 +01:00
commit 2e284cbff9
10 changed files with 6665 additions and 0 deletions

13
root.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
{{ .inertiaHead }}
</head>
<body>
{{ .inertia }}
<script type="module" src="build/main.bundle.js"></script>
</body>
</html>