Trame v2 has arrived, introducing several breaking changes. Some features of trame v1 have been removed but in general the migration is straightforward by tweaking imports and variables definitions. The following example code shows how v1 code is implemented in v2.
Main code change
Before
from trame import state, controller from trame.layouts import SinglePage from trame.html import vuetify, Div
All the client helper functions are now nested under a utils.* namespace object to allow better extensibility and prevent possible state variables conflict.
Busy
The state variable busy has been renamed to trame__busy.