Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I handle styling? #1315

Closed
riungemaina opened this issue Oct 6, 2023 · 0 comments
Closed

How do I handle styling? #1315

riungemaina opened this issue Oct 6, 2023 · 0 comments

Comments

@riungemaina
Copy link

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

  • Shakapacker or Sprockets version: None
Screenshot 2023-10-06 at 14 23 09
  • React-Rails version: 3.1.1
  • Rect_UJS version: None
  • Rails version: 4.2
  • Ruby version:2.5.8

(Describe your issue here)

@reactjs reactjs locked and limited conversation to collaborators Oct 6, 2023
@ahangarha ahangarha converted this issue into discussion #1316 Oct 6, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant