import Main from '../views/main'
import Login from '../views/login'
import Error404 from '../views/error/404'

var routes = [
    { path: '/', name: 'main', component: Main, auth: true },
    { path: '/login', name: 'login', component: Login },
    { path: '/404', name: '404', component: Error404 }
]
// auth 是否需要登录
export default routes;