Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

147
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda