Skip to content
Discussion options

You must be logged in to vote

You can only do it for the whole app, but it looks something like this

app = rx.App(
    head_components=[
        rx.el.link(
            href="fancy.css",
            rel="alternate stylesheet",
            title="Fancy",
        ),
    ]
)

You can also add meta tags via the same method with rx.el.meta.

And it's not really supported, but you can also include raw inline styles via

rx.el.element.Element.create("p {color: blue}", tag="style"),

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@regul8or
Comment options

Answer selected by regul8or
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants