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

131
Vistas
Import html from a cdn?

This may be a stupid question, but I am doing a proof of concept for a feature which would be used in a polymer component (later be migrated to Lit).

So, the use case is quite a simple one. As the older version of polymer support style modules instead of importing a stylesheet like we usually do in other libraries/frameworks. I want to load a few style modules from a cdn (or perhaps a much better way if we have).

Is that even an option?

Something like below:

import 'https://cdn.somedomain.com/style-module/custom-style-module.html';

...

<dom-module>
  <template>
    <style include="custom-style-module"><style>
  <template>
</dom-module>

This might sound vague as the concept of polymer doesn't exist anymore. But, if someone still working on something like this, please put your thoughts here.

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