19 lines
548 B
TypeScript
19 lines
548 B
TypeScript
// reflect-metadata allows for runtime reflection of types in JavaScript.
|
|
// It is needed for class-transformer to work and is imported as a side effect.
|
|
// The library replaces the Reflect API on the window to support more features.
|
|
import "reflect-metadata";
|
|
import { createApp } from "vue";
|
|
|
|
import "@/lifetime/errors";
|
|
import { initWasm } from "@/state/wasm-loader";
|
|
|
|
import App from "@/App.vue";
|
|
|
|
(async () => {
|
|
// Initialize the WASM editor backend
|
|
await initWasm();
|
|
|
|
// Initialize the Vue application
|
|
createApp(App).mount("#app");
|
|
})();
|