Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sudhirj
· 5y ago · 0 comments
Nope. Does the sidecar create a folder for each component?
Comments
[–]
finniananderson
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`