forked from aya/aya
Initial commit
This commit is contained in:
13
client/app/main.js
Normal file
13
client/app/main.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import "./css/app.css"
|
||||
import App from "./src/App.svelte"
|
||||
import { mount } from "svelte";
|
||||
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
const mode = params.get("mode") || "player" // can be of [player, studio, server] to access 3 different UIs
|
||||
|
||||
const app = mount(App, {
|
||||
target: document.getElementById("app"),
|
||||
props: { mode }
|
||||
})
|
||||
|
||||
export default app
|
||||
Reference in New Issue
Block a user