DBC icons won't show

Hello,

When I execute this code, no icon is showing…

from dash import Dash, html
import dash_bootstrap_components as dbc

app = Dash(external_stylesheets=[dbc.themes.BOOTSTRAP, dbc.icons.BOOTSTRAP])
app.layout = [html.H4(children=[html.I(className="bi bi-stars"), "Hello world!"])]

app.run_server(debug=True, port=8050)

What’s the problem?

Hi @Mark531

It worked fine for me after i changed app.run_server to app.run (I’m running dash 3)

What versions of dbc and dash are you using?

1 Like

You’re right, it started working all of a sudden, after a dozen of failing trials… I don’t understand what happened.

I’m using dash 2.18.2 and dash-bootstrap-components 1.7.1.

1 Like