Hacker News new | ask | show | jobs
by sudhirj 1758 days ago
Nope. Does the sidecar create a folder for each component?
1 comments

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`