From 83d1e4a6aad2dbf404716eba6688e5498b18b859 Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 7 Aug 2023 17:40:24 +0200 Subject: [PATCH] fix(webpack): set `__webpack_public_path__` Required for loading webpack chunks if the app is in a non-default apps folder (like `apps-extra/`). Signed-off-by: Jonas --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.js b/src/main.js index a5c6ed425..0b4a751ca 100644 --- a/src/main.js +++ b/src/main.js @@ -29,6 +29,8 @@ import { sync } from 'vuex-router-sync' /** Global directives */ import VTooltip from '@nextcloud/vue/dist/Directives/Tooltip.js' +__webpack_public_path__ = OC.linkTo('collectives', 'js/') // eslint-disable-line + // Register global directives Vue.directive('Tooltip', VTooltip)