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:
Pierre Donias 2022-08-18 16:28:50 +02:00 committed by Julien Fontanet
parent 0b02c84e33
commit 0fc797f7d0
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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");