ko-component-router, 基于组件的路由器开发Knockout的超炫应用

分享于 

1分钟阅读

GitHub

  繁體 雙語
Component-based routing for KnockoutJS
  • 源代码名称:ko-component-router
  • 源代码网址:http://www.github.com/Profiscience/ko-component-router
  • ko-component-router源代码文档
  • ko-component-router源代码下载
  • Git URL:
    git://www.github.com/Profiscience/ko-component-router.git
    Git Clone代码到本地:
    git clone http://www.github.com/Profiscience/ko-component-router
    Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/Profiscience/ko-component-router
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
    
    ko-component-router

    这里存储库已经移动到 @profiscience/knockout-contrib-router 服务器。 有关所有更改,请参阅变更日志

    迁移

    • yarn remove ko-component-router
    • yarn add @profiscience/knockout-contrib-router
    • 将所有 <ko-component-router> 元素重命名为 <router>
    • 重命名所有导入( import { Router } from 'ko-component-router' => import { Router } from '@profiscience/knockout-contrib-router' )

    COM  BASE  component  awe  route  路由器  
    相关文章