Skip to content
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

Quasar components don't render in layouts #281

Open
PGimenez opened this issue May 17, 2024 · 0 comments
Open

Quasar components don't render in layouts #281

PGimenez opened this issue May 17, 2024 · 0 comments

Comments

@PGimenez
Copy link
Member

I've tried defining a layout that uses quasar components like a toolbar, but the Quasar components are not rendering properly in the page. Using normal HTML works fine

Here's a MWE

using GenieFramework

@app begin
    @in txt = "Hello, World!"
end

ui() = [
        p("--------------"),
        p("body content:"),
        card(:txt),
        card("hello world"),
        checkbox("check me"),
        btn("aaa", icon="menu")
       ]

@page("/", ui, layout="layout.jl")

layout.jl:

[
 h4("Layout test"),
 card("hello world"),
 checkbox("check me"),
 btn("aaa", icon="menu"),
 page(model, partial=true, [@yield]) 
]

Result: the quasar components from the layout appear in the page code but are not rendered
CleanShot 2024-05-17 at 20 34 59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant