fix(lite): change HTML main element ID from app to root (#6371)
XCP-ng web servers already serve an HTML file with a #root element. This allows to use the new version of XO Lite without having to change that HTML file on XCP-ng hosts.
This commit is contained in:
parent
0b02c84e33
commit
0fc797f7d0
@ -7,7 +7,7 @@
|
|||||||
<title>Vite App</title>
|
<title>Vite App</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="root"></div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -10,4 +10,4 @@ app.use(createPinia());
|
|||||||
app.use(router);
|
app.use(router);
|
||||||
app.component("FontAwesomeIcon", FontAwesomeIcon);
|
app.component("FontAwesomeIcon", FontAwesomeIcon);
|
||||||
|
|
||||||
app.mount("#app");
|
app.mount("#root");
|
||||||
|
Loading…
Reference in New Issue
Block a user