Skip to content

How do I handle styling? #1315

@riungemaina

Description

@riungemaina

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions