dispatch middleware nuxt code example
Example 1: typescript express next middleware type
import * as express from 'express'
next: express.NextFunction
Example 2: nuxt typescript middleware property
@Component({
components: {
Logo
},
middleware: ['typescript']
})
class Index extends Vue {}