<template>
    <div class="c-oparl-client">

    </div>
</template>

<script>
    import OParl from 'oparl';

    let client = OParl.open('http://dev.dev-website.dev/api/v1/system', function (err, serverObj) {
        if (err !== null) {
            console.error('Something went wrong: ' + err);
        } else {
            console.log(serverObj);
        }
    });

    window.OParl = client;

    export default {
        data() {
            return {
                url: document.location.href
            }
        }
    };
</script>
<template>
    <div class="c-oparl-client">

    </div>
</template>

<script>
    import OParl from 'oparl';

    /*
    let client = OParl.open('', function (err, serverObj) {
        if (err !== null) {
            console.error('Something went wrong: ' + err);
        } else {
            console.log(serverObj);
        }
    });


    window.OParl = client;
     */

    export default {
        data() {
            return {
                url: document.location.href
            }
        }
    };
</script>
Remove oparl client debug code
Remove oparl client debug code
