Skip to content

lit-element with scss #4640

Answered by mischnic
klemenoslaj asked this question in General
May 21, 2020 · 1 comments · 15 replies
Discussion options

You must be logged in to vote

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

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@mischnic
Comment options

@klemenoslaj
Comment options

@klemenoslaj
Comment options

@mischnic
Comment options

@klemenoslaj
Comment options

Answer selected by klemenoslaj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants