Nuxt/examples/with-feathers/src/middleware/index.js
2017-01-11 20:23:43 +01:00

13 lines
264 B
JavaScript

'use strict';
const nuxt = require('./nuxt');
module.exports = function() {
// Add your custom middleware here. Remember, that
// just like Express the order matters, so error
// handling middleware should go last.
const app = this;
app.use(nuxt);
};