-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
I have a component structure like so:
- /app
- /components
- /alert
- alert.css
- alert.html.erb
- alert.rb
I'm importing the CSS file in Webpacker's application.css.
Unfortunately this setup gives me the error:
More than one template found for Alert. There can only be one sidecar template file per component.
I'm currently working around this by using _alert.css instead of alert.css, but it seems odd actionview-component is treating this CSS file as a template file?
Is there a best practice here I should be following? Or is this an issue actionview-component should fix?
Metadata
Metadata
Assignees
Labels
No labels