lit-element with scss #4640
-
I think the title explains what I am about to ask.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
I'm not familiar with lit-element, but I think you want to compile SCSS and get the result as a string inside JS? (If not, please give an example of what you're trying to achieve). With Parcel 2, you can do this out of the box (the example at the very bottom uses native html custom elements which should be rather similar): https://parcel2-docs.now.sh/getting-started/plugin-config/#predefined-(offical)-named-pipelines |
Beta Was this translation helpful? Give feedback.
I'm not familiar with lit-element, but I think you want to compile SCSS and get the result as a string inside JS? (If not, please give an example of what you're trying to achieve).
With Parcel 2, you can do this out of the box (the example at the very bottom uses native html custom elements which should be rather similar): https://parcel2-docs.now.sh/getting-started/plugin-config/#predefined-(offical)-named-pipelines