feat(serverembed): add initial HTML and SVG assets
* Create index.html for the web application entry point * Add vite.svg as a favicon * Update frontend.go to embed all files in the dist directory * Modify vite.config.ts to set output directory for builds
This commit is contained in:
14
pkg/serverembed/dist/index.html
vendored
Normal file
14
pkg/serverembed/dist/index.html
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/ui/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>web</title>
|
||||
<script type="module" crossorigin src="/ui/assets/index-D_NQzvuP.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/ui/assets/index-Bfia8Lvm.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user