Closed etienne-monier closed 3 years ago
up!
Thanks for the detailed report!
_metadata should also be a traitlet:
_metadata = traitlets.Dict(default_value={'mount_id': 'content'}).tag(sync=True)
Ok, I did not think about that. Thanks for your help :)
Description
I'd like to use the base template for an application.
When rending a basic code, I can't succeed in filling the app.
Reproduce
I'm using poetry.
Here is my
pyproject.toml
:Place it in a dir
test
and runpoetry install
.Add this code in a file
test.ipynb
Finally run
poetry run voila --template vuetify-base test.ipynb
.Result: I only see the message:
A widget with mount-id="content" should go here
It seems the
_metadata = {'mount_id': 'content'}
line is not correct.Expected behavior
I just expect my widget
TestCode()
to appear in the voiila page.Context
Thanks for your help :)