We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089d005 commit 61f1fc7Copy full SHA for 61f1fc7
adminforth/spa/src/utils.ts
@@ -88,9 +88,13 @@ export const loadFile = (file: string) => {
88
}
89
let path;
90
let baseUrl = '';
91
+ console.log('loadFile', file, "import.meta.url", import.meta.url);
92
if (file.startsWith('@/')) {
93
+ console.log('loading from @/');
94
path = file.replace('@/', '');
95
+ console.log('path', path);
96
baseUrl = new URL(`./${path}`, new URL(import.meta.url).origin + new URL(import.meta.url).pathname).href;
97
+ console.log('baseUrl', baseUrl);
98
} else if (file.startsWith('@@/')) {
99
path = file.replace('@@/', '');
100
0 commit comments