Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MunGell
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Google Cloud App Engine and Environment Variables
(dev.to)
1 points
by
MunGell
7y ago
|
0 comments
2.
▲
by
MunGell
9y 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.
3.
▲
by
MunGell
9y ago
I liked the idea of how Vue components combine business logic and styling code in one file using HTML-like wrappers. As I mentioned in a comment below I realise there is already a number of ways to approach the problem. I personally didn&#x
4.
▲
by
MunGell
9y ago
Hi @devdad, Thanks for your feedback! I guess you mean CSS-in-JS approaches where CSS is either put inside JS code as a template literals/string (styled-components, csjs etc) or as inline styles with JS objects (Radium etc.). Both appr
5.
▲
by
MunGell
9y ago
I am using Vue and React on a couple of projects and found it convenient to have Vue components contained in a single file. As an experiment, I've created a Webpack loader to allow combining styling and React code in a single file. Thi
6.
▲
Show HN: Single-file components for React
(github.com)
37 points
by
MunGell
9y ago
|
13 comments
7.
▲
Show HN: Cli tool to manage multiple Vagrant boxes
(github.com)
2 points
by
MunGell
10y ago
|
1 comments