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.