knockout.jsurl-routingsingle-page-applicationdurandal-2.0durandal-navigation

Durandal Navigation without using "router"


I am developing a CMS using Durandal. My problem is with navigating through my menu items and other links. These pages don't "exist" hence am not sure how to map them for routing purposes. The starterkit on Durandal make reference to static pages. For development purposes I was manually typing the url. Is there a way I can create a route mechanism to retrieve HTML pages stored in the database - for navigation purposes? Any ideas and pointers welcome?


Solution

  • Turns out all I had to do was use durandal Route Parameters and Query Strings.