Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
import{LitElement,css,html}from'lit-element';import{css}from'lit-element';classMyElementextendsLitElement{staticstyles=css`/*... contents of my-element.css */`;render(){returnhtml`<h1>🍰</h1>`;}}
I hope this tides us over until the css modules proposal is implemented across browsers
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Awesome post. Way to go!
If you're using Rollup to bundle your app, you can import styles from CSS with this plugin:
npm.im/rollup-plugin-lit-css
Which is precisely equivalent to :
I hope this tides us over until the css modules proposal is implemented across browsers