mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
27 lines
771 B
JavaScript
27 lines
771 B
JavaScript
import NewMessage from "../components/Messages/Details/NewMessage/NewDiv.js";
|
|
|
|
import Phrasen from "../plugins/Phrasen.js";
|
|
|
|
const ciPath = FHC_JS_DATA_STORAGE_OBJECT.app_root.replace(/(https:|)(^|\/\/)(.*?\/)/g, '') + FHC_JS_DATA_STORAGE_OBJECT.ci_router;
|
|
|
|
const router = VueRouter.createRouter({
|
|
history: VueRouter.createWebHistory(),
|
|
routes: [
|
|
{ path: `/${ciPath}/NeueNachricht`, component: NewMessage, props: true },
|
|
{ path: `/${ciPath}/NeueNachricht/:id/:typeId`, component: NewMessage, props: true },
|
|
{ path: `/${ciPath}/NeueNachricht/:id/:typeId/:messageId`, component: NewMessage, props: true },
|
|
]
|
|
});
|
|
|
|
|
|
const app = Vue.createApp();
|
|
|
|
app
|
|
.use(router)
|
|
.use(primevue.config.default, {
|
|
zIndex: {
|
|
overlay: 1100
|
|
}
|
|
})
|
|
.use(Phrasen)
|
|
.mount('#main'); |