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

11 lines
239 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
import nuxt from './nuxt'
2017-01-11 19:13:38 +00:00
2018-03-16 16:12:06 +00:00
export default 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)
}