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