mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
9c1060e06c
This commit adds `middlewares` option to nuxt and accepts connect style middlewares. Also modules can register middlewares using `this.addMiddleware()` method. Each entry can be a simple middleware function or {path, handler} to support paths. |
||
---|---|---|
.. | ||
app | ||
views | ||
webpack | ||
build.js | ||
generate.js | ||
module.js | ||
nuxt.js | ||
render.js | ||
server.js | ||
utils.js |