You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
@AlecRust you're right, actionview-component should only raise an error if there is more than one template file. It shouldn't care if there is a sidecar CSS file.
I have a component structure like so:
I'm importing the CSS file in Webpacker's
application.css
.Unfortunately this setup gives me the error:
I'm currently working around this by using
_alert.css
instead ofalert.css
, but it seems oddactionview-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?The text was updated successfully, but these errors were encountered: