1234567891011121314151617181920212223 |
- import "@/assets/theme.editor.scss";
- import ClickOutSide from "./utils/fns/ClickOutSide";
- import Components from "./global_components";
- import { createApp } from "vue";
- import store from "./store";
- import App from "./app.vue";
- import browser from "@/utils/browser";
- if (!window.location.search) {
- window.location.href = '/index.html?m=eur-KJ-z5ZEV22AeU&pose=pano:408,qua:-0.006,0.6299,0.0049,0.7766';
- } else if (!browser.hasURLParam("pose")) {
- let url = window.location.href + `&pose=pano:408,qua:-0.006,0.6299,0.0049,0.7766`;
- window.location.href = url
- } else {
- const app = createApp(App);
- app.use(store);
- app.use(Components);
- app.directive("click-outside", ClickOutSide);
- app.mount("#app");
- }
|