DEV Community

Discussion on: What's your favorite CSS approach?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited
  • <style scoped> (In Next.js, there is <style jsx>, but it seems not to be truly injected CSS first into stylesheets.)
  • CSS modules (with Webpack)
  • SCSS for Webpack-based environment. I am considering LESS for browser-based on-the-fly compilation. (I have been using Stylis.)

Lastly, all of these are easy in making "components" using Nuxt. Though, I regretted that :host selector is still missing.