Skip to content
Discussion options

You must be logged in to vote

The component and the render call look correct but if you ran the install script and have a Phlex initializer file, it would expect to find that class under app/components/hello.rb.

Can you confirm the phlex.rb initializer was generated when you ran rails generate phlex:install?

If you can paste the exact error, that might help identify the issue. I assume it's a Zeitwerk error.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lukef
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants