You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's just a matter of having the right NodeJS compat for Vercel, but would be cool if we could set Greenwood's Import Attributes and refactor the inline CSS in the src/components/ directory to use Constructable StyleSheets.
So instead of all the inline CSS
move it into its own dedicated file
Use Import Attributes, ex
importsheetfrom'./card.css'with{type: 'css'}
Adopt it into the Shadow Root, instead of an inline <style> tag in the template
this.shadowRoot.adoptedStyleSheets=[sheet];
The text was updated successfully, but these errors were encountered:
I think it's just a matter of having the right NodeJS compat for Vercel, but would be cool if we could set Greenwood's Import Attributes and refactor the inline CSS in the src/components/ directory to use Constructable StyleSheets.
So instead of all the inline CSS
<style>
tag in the templateThe text was updated successfully, but these errors were encountered: