mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 06:10:01 -04:00
monorepo part 2
This commit is contained in:
parent
2138e02613
commit
6dc4aa8c6b
17 changed files with 165 additions and 66 deletions
10
frontend/src/entry.ts
Normal file
10
frontend/src/entry.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import App from "./App.svelte";
|
||||
|
||||
const app = new App({
|
||||
target: document.getElementById("app")!,
|
||||
});
|
||||
|
||||
if (!import.meta.env.VITE_ADRIFT_SINGLEFILE) {
|
||||
navigator.serviceWorker.register("/sw.js");
|
||||
}
|
||||
export default app;
|
Loading…
Add table
Add a link
Reference in a new issue