Y
Hacker News
new
|
ask
|
show
|
jobs
by
finniananderson
1758 days ago
Are you using the sidecar setup?
1 comments
sudhirj
1758 days ago
Nope. Does the sidecar create a folder for each component?
link
finniananderson
1758 days 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`
link