mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-11 19:28:05 +00:00
13 lines
264 B
JavaScript
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);
|
|
};
|