failed to use electron-edge-js



  • Hi everyone,

    I am a newbie here. I am coming to quasar from .NET world. I am trying to use electron-edge-js to bridge quasar electron with .NET.

    <script>
    
    var edge = require('electron-edge-js');
    var helloWorld = edge.func(function () {/*
        async (input) => {
            return ".NET Welcomes " + input.ToString();
        }
    */});
    
    export default {
      name: 'PageIndex'
    }
    </script>
    

    when I add the above code into index.vue, I got the following error. has anyone successfully tackled this issue? It would be very grateful for any recommendation.

    7e7a2758-06b3-4ae9-b386-93cc9c399192-image.png


Log in to reply