Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
url is not mounted correctly in LoadURL in Electron

url is not mounted correctly in LoadURL in Electron.

I'm trying to load a Vuejs route by loading Electron.

But they are having difficulties with the bars at the end of the wheel, as the bars are loading differently.

main.js

win = new BrowserWindow( {
        width: 1000,
        height: 830,
        // resizable: false,
        icon: __dirname + '/favicon.ico',
        // frame: false,
        // titleBarStyle: "hidden",
        webPreferences: {
            nodeIntegration: false,
            contextIsolation: true,
          }
    } );
    win.loadURL( path.join(__dirname, '/dist#/vendas/pdv' 

)) ;

Result

file:///C:/Users/Marce/royaldesk/dist#\vendas\pdv

Should be like this

file:///C:/Users/Marce/royaldesk/dist#/vendas/pdv

The slashes at the end of the link are reversed

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!