Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 415 Bytes

readme.md

File metadata and controls

16 lines (12 loc) · 415 Bytes

router

Aimee框架的路由管理模块,用于管理虚拟页路由

Example

var router = require('router');

router
    .option('pages/home')						// => http://domain/#/home
    .option('pages/user')						// => http://domain/#/user
    .option('pages/video')						// => http://domain/#/video
    .option('pages/videolist', '/video/list')	// => http://domain/#/video/list
    .action();