No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Electron can not use remote api of renederer

    Starter Kits
    1
    1
    1076
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lichnow last edited by

      electron remote api can not use in main.js and vue components.

      // main.js
      import webFrame from 'electron'
      
      webFrame.setVisualZoomLevelLimits(1, 1)
      
      

      when i change the webpack config libraryTarget: 'commonjs2',require('electron') will work ,but many other features of electron must be configure of webpack and run script, because quasar framework will build spa page,this is really a large work.A perfect framework of vue and electron integration is electron-vue,but the best model is development in quasar framework,and generator electron project.

      The quasar have a plan to perfect integration vue and electron or integration quasar and vue-electron?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post