【文件属性】:
文件名称:ez-router:用于快递的类似路由器的导轨
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-02 10:26:12
JavaScript
Router
Rails 风格的路由。
Routes - 默认配置的路由
参考 说明:
HTTP Verb
Path
Controller#Action
Used for
GET
/photos
photos#index
display a list of all photos
GET
/photos/new
photos#new
return an HTML form for creating a new photo
POST
/photos
photos#create
create a new photo
GET
/photos/:id
photos#show
display a specific photo
GET
/photos/:id/edit
photos#edit
return an HTML form for editing a photo
PATCH
/photos/:
【文件预览】:
ez-router-master
----.jshintrc(53B)
----Readme.md(4KB)
----.npmignore(29B)
----test()
--------.jshintrc(51B)
--------test.router.js(1KB)
--------fixture()
----History.md(122B)
----.gitignore(22B)
----index.js(3KB)
----package.json(342B)