Y
Hacker News
new
|
ask
|
show
|
jobs
by
MunGell
3176 days ago
I use this approach in most cases combining it with BEM class naming. However, the point of having single-file components it to have all the required code in one file, including CSS/styling.