Skip to content

Commit

Permalink
docs(migration): Add widgets.html info
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed May 18, 2022
1 parent b28723d commit 4e57496
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/docs/trame_v2_migration.md
Expand Up @@ -9,7 +9,7 @@ Before
```python
from trame import state, controller
from trame.layouts import SinglePage
from trame.html import vuetify
from trame.html import vuetify, Div

[...]

Expand All @@ -27,7 +27,7 @@ After
```python
from trame.app import get_server
from trame.ui.vuetify import SinglePageLayout
from trame.widgets import vuetify
from trame.widgets import vuetify, html

server = get_server()
state, controller = server.state, server.controller
Expand All @@ -39,7 +39,7 @@ state.trame__title = tab_title
ctrl.on_server_ready.add(_fn)

with SinglePageLayout(server) as layout:
pass
html.Div("Hello")

[...]

Expand Down

0 comments on commit 4e57496

Please sign in to comment.