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

109
Vistas
iframe (or other html tag) that loads local project with external assets

I am building an ElectronJS application, that should allow for UI plugins to be installed, which are to be stored locally. I am now looking for a way to display these plugins. A plugin in itself should just be another website, that communicates with the parent application via message passing, as it's common for iframe communication. I successfully managed to display a local html file, that has its scripts and styles inlined into the HTML file. Setting up webpack or other bundlers to bundle a project into a single inlined file has proven to be painful and I still could not figure out how to bundle file assets (images etc) as data urls into the HTML file either. I am therefore looking for a way to instruct an iframe (or maybe any other html tag) to load a local html entry file and the referenced assets in the file, as well. In the end the local plugin project should run just like any hosted website referenced in an iframe.

I looked for projects doing something similar. Figma uses the approach with bundling the UI into a single file (what I am trying to avoid) and VSCode seems to be doing what I need, but in its documentation Microsoft does not go into detail on compiling assets.

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