How I can set middleware for page in router.js file? Now I\'m using property in component:
export default { middleware: \'auth\' }
What I want