How do I handle styling? #1316
Replies: 2 comments
-
Hi Riunge. What you are asking is entirely related to how AssetPipeline works. Please check the Rails docs on AssetPipeline and apply them to your project. Whenever you think the issue is related to |
Beta Was this translation helpful? Give feedback.
-
Inspect Element: Check if your styles are applied and inspect for any JavaScript errors in the browser console. |
Beta Was this translation helpful? Give feedback.
-
Help us help you! Have you looked for similar issues? Do you have reproduction steps? Contributing Guide
Steps to reproduce
I am using react-rails with Asset Pipeline and I am trying to style my app but I am not sure where to start.
As soon as I try to add any styles just to a component, the component just doesn't render, the frustrating bit is that there are no errors and I have gone through the docs and I see no mention of styling with the Asset Pipeline option.
I am very new to ruby so there might be a lot that I am missing that would otherwise be obvious.
I am hoping to use sass or worst case css modules.
Expected behavior
I should see the styled components
Actual behavior
The component does not render at all.
System configuration
(Describe your issue here)
Beta Was this translation helpful? Give feedback.
All reactions