Skip to content

Aimeejs/router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published