[app] Initialize router before requiring in first root component