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

13 lines
264 B
JavaScript
Raw Normal View History

2017-01-11 19:13:38 +00:00
'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);
};