Nuxt/examples/with-feathers/src/middleware/index.js

13 lines
260 B
JavaScript
Raw Normal View History

2017-10-31 13:43:55 +00:00
'use strict'
2017-01-11 19:13:38 +00:00
2017-10-31 13:43:55 +00:00
const nuxt = require('./nuxt')
2017-01-11 19:13:38 +00:00
2017-10-31 13:43:55 +00:00
module.exports = function () {
2017-01-11 19:13:38 +00:00
// Add your custom middleware here. Remember, that
// just like Express the order matters, so error
// handling middleware should go last.
2017-10-31 13:43:55 +00:00
const app = this
2017-01-11 19:13:38 +00:00
2017-10-31 13:43:55 +00:00
app.use(nuxt)
}