How to set default activationStrategy in aurelia
Aurelia normally ignores any changes in the querystring. It is possible to set the activationStrategy to invoke-lifecycle in the VM so it will re-run the all the life cycles in the VM when the querystring changes. To prevent littering my code (placing it in every VM) i want to set the default activationStrategy to invoke-lifecycle . In the interface it's explained that it is possible, but how to set it? https://github.com/aurelia/router/blob/master/src/interfaces.js On the ViewModel (I misread your question at first too, but I'm leaving this in for completeness) Place a method