Are there any knockoutjs page/routing frameworks?

前端 未结 6 644
时光取名叫无心
时光取名叫无心 2020-12-23 02:13

Coming from asp.net MVC 3. In MVC4 they introduced WebAPI\'s. It would be nice to be able to do all view/routes code in javascript and just rely on MVC for API. Heck it\'

6条回答
  •  死守一世寂寞
    2020-12-23 02:49

    I'd like to throw my hat in the running to future Googlers/SOers with ko-component-router.

    IMO the API is much more succinct than Pager.js, and having been designed explicitly for KO it has built in goodies like observable route & querystring parameters.

    Best of all, it's actively maintained and will remain so for the forseeable future.

    DISCLAIMER: I'm the developer of this package.

提交回复
热议问题