psolom / RichFilemanager

An open-source file manager. Up-to-date for PHP, Java, ASHX, ASP, NodeJs & Python 3 Flask. Contributions are welcome!
http://fm.devale.pro
906 stars 251 forks source link

Uncaught (in promise) ReferenceError: purl is not defined #400

Closed Mlocik97 closed 4 years ago

Mlocik97 commented 4 years ago

In raising this issue, I confirm the following (please check boxes):

I use the following server-side connector (check one):

My familiarity with the project is as follows (check one):


{issue content here} connector: https://github.com/dekyfin/RichFilemanager-NODE

Snímka obrazovky z 2020-05-18 19-38-06

import { onMount } from 'svelte';
import jQuery from 'jquery';

onMount(async () => {
    window.jQuery = window.$ = jQuery
    const richFilemanager = await import('rich-filemanager/src/js/filemanager.min.js');

    jQuery('.fm-container').richFilemanager({
        baseUrl: 'http://localhost:8080/filemanager'
    });
})

I'm using Svelte/Sapper framework (same config as in sapper-template-rollup)