-
#### Description
To enhance the flexibility and usability of PhlexUI components, I propose adding ViewComponents and Helpers wrappers. This will allow developers to use PhlexUI components with Phle…
-
Many Rails apps utilize the app/helpers feature for code reusability when rendering. I cannot figure out how to integrate the methods defined under app/helpers/ into Phlex's rendering pipeline, which …
-
Hello im using hassio with this addon, but for the past weeks phlex os responding everything i asked but its not casting, im neither couldnt enter woth my ip:5123/phlex to see the logs, any help?
-
```ruby
"showcase/previews/#{path.id}".classify
"Showcase::Previews::Box".constantize.render_in(@view_context)
# Require Zeitwerk naming conventions so `constantize` works.
# showcase/previews/b…
-
After following the [Installation Guide](https://phlexui.com/docs/installation/rails_importmaps) for the Importmaps variant, any page load results in loads of index.js and other 404 errors, all of var…
-
I’d like my test description to say something like this and I’m struggling to fit it into the `describe` / `with` blocks:
> Phlex::Component#render _when_ rendering another component _with_ a text …
-
Let's say we have this:
```erb
```
Which would generate this through phlexing today:
```ruby
class SomethingComponent < Phlex::HTML
include Phlex::Rails::Helpers::ContentTag
include…
-
See activeadmin/activeadmin#2689
> The unused in-memory DOM representation more than doubles the memory usage required to service a request and complicates the implementation to having a seperate bu…
-
I’m trying to write an expectation that an object receives multiple calls with different arguments. It looks like this isn’t supported yet.
```ruby
describe Phlex::Compiler do
let(:compiler) { …
-
**ERB Input:**
```erb
```
**Output:**
```ruby
class Component < Phlex::HTML
def template
if some_condition?
text "Text"
end
end
end
```
**Expected output:**
…