Skip to content

Components aren't rendering correctly in quarto #820

@cpsievert

Description

@cpsievert

Introduced recently by #810. In that PR, I consolidated all the component dependencies in one bundle, and stopped attaching dependencies to the components. I was thinking at the time this might be better for Quarto since they'll be bringing in these dependencies in their own way (and we can pretty generally rely on bs_theme_dependencies() bringing in dependencies in Shiny/Rmd), but that'll probably be only for specific formats, so we should probably be attaching dependencies to the components.

---
title: "bslib tooltips"
format: html
---

```{r}
library(bslib)
```

## Components

```{r}
card("Hello", full_screen = TRUE)
```

```{r}
tooltip("A tooltip", "Message")
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions