...
As there is currently no mechanism for handling file renames, it is suggested that existing code be left in place for now. New development within a component can happen in the v2 structure though. As long as the tui.json
file is in the correct place (not inside src/
), the v1 and v2 structures may coexist within the same Tui component.
There is no requirement that new code is written in New features should be built using the v2 structure, but it is recommended if making use of the Vue 3 composition API.
v1 structure
Supported in Totara 13+.
...