HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by sudhirj | Hacker News Reader
Parent
Full thread
sudhirj
·
Nope. Does the sidecar create a folder for each component?
View on HN
finniananderson
·
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`
Reply on news.ycombinator.com