fix(web): generator bundle resolves its route under the console mount path

The previous rebuild baked createWebHistory('./') which vue-router normalizes
to '/.' and matches nothing - the page rendered only the header shell. The
bundle now derives its router base from document.baseURI, verified in a real
browser at /generator/: step wizard renders, zero Han in the UI.
This commit is contained in:
lapy 2026-10-12 14:25:20 +01:00
parent 13a627af6b
commit 56e83aaec0
3 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Xiaozhi AI Customization</title> <title>Xiaozhi AI Customization</title>
<script type="module" crossorigin src="./assets/index-C_B_50-2.js"></script> <script type="module" crossorigin src="./assets/index-CTIG3yYe.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-D3IPibb6.css"> <link rel="stylesheet" crossorigin href="./assets/index-D3IPibb6.css">
</head> </head>
<body> <body>