javascript,query-string,aurelia,aurelia-navigation,aurelia-router
On viewmodel you can implement method activate(params, routeConfig) and object params should contain your query variables activate(params, routeConfig){ console.log(params.s); //should print mystate } To navigate to some route, you have to specify the name of this route in app.js (name: 'redirect') config.map([ { route: ['','welcome'], moduleId: './welcome', nav: true, title:'Welcome'...