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 am currently looking into using RubyUI and I've started watching this introduction video. In the video, we can see how RubyUI components are rendered in a Phlex view by simply calling them without the RubyUI module, so Heading instead of RubyUI::Heading. How can you achieve this? I've generated the Phlex views and RubyUI components just like in the video with the Rails generators. So my generated RubyUI components are also under app/components/ruby_ui. I wonder why it works in the video, but not for me since we seem to have the exact same setup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am currently looking into using RubyUI and I've started watching this introduction video. In the video, we can see how RubyUI components are rendered in a Phlex view by simply calling them without the
RubyUI
module, soHeading
instead ofRubyUI::Heading
. How can you achieve this? I've generated the Phlex views and RubyUI components just like in the video with the Rails generators. So my generated RubyUI components are also underapp/components/ruby_ui
. I wonder why it works in the video, but not for me since we seem to have the exact same setup.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions