路由

    1. {
    2. path: '*',
    3. component: NotFound
    4. }

    返回首页

    1. <router-link to="/">返回首页</router-link>