I’m migrating v1 app and looking for a solution reusing a view/template in inheritance.
In v1, one could decorate base class with @useView(path: string)
and it’d be inherited by subclasses (or override if necessary). Or one could define getViewStrategy(): string
method on the base (and override in subclass). How is it done in v2?
Should I create static field called on base (such as indicated by on this:
Cheat Sheet - The Aurelia 2 Docs )?
I’d be also great if inheritance would be a section in the docs like:
Templating: HTML Behaviors Introduction | Aurelia