15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
import "./styles/index.css";
|
|
import { createApp } from "vue";
|
|
import App from "./App.vue";
|
|
import { viewerPinia } from "./ui/stores/pinia";
|
|
|
|
const root = document.querySelector<HTMLDivElement>("#app");
|
|
|
|
if (!root) {
|
|
throw new Error("Missing #app root element");
|
|
}
|
|
|
|
createApp(App)
|
|
.use(viewerPinia)
|
|
.mount(root);
|