experimental: adapt for using rollupjs bundler

This commit is contained in:
Harald Bamberger
2024-04-08 16:30:18 +02:00
parent c04d51c1c0
commit 3b1a752068
3 changed files with 19 additions and 8 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
import { markRaw, defineAsyncComponent } from 'vue';
import {CoreRESTClient} from '../RESTClient.js';
import accessibility from "../directives/accessibility.js";
@@ -70,7 +71,7 @@ export default {
return console.error('Component missing for ' + key);
tabs[key] = {
component: Vue.markRaw(Vue.defineAsyncComponent(() => import(item.component))),
component: markRaw(defineAsyncComponent(() => import(item.component))),
title: item.title || key,
config: item.config,
key
@@ -82,7 +83,7 @@ export default {
return console.error('Component missing for ' + key);
tabs[key] = {
component: Vue.markRaw(Vue.defineAsyncComponent(() => import(item.component))),
component: markRaw(defineAsyncComponent(() => import(item.component))),
title: item.title || key,
config: item.config,
key