Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
finniananderson
· 5y ago · 0 comments
Are you using the sidecar setup?
Comments
[–]
sudhirj
5y ago
Nope. Does the sidecar create a folder for each component?
[–]
finniananderson
OP
5y ago
Yep. It's "experimental" but stable. It creates the .rb file at the root and then you can put the template, CSS & JS in a subfolder.
`bin/rails g component Button --sidecar`