export const settings = {
    mode: 'history',
    base: process.env.BASE_URL,
    scrollBehavior() {
        return {
            x: 0,
            y: 0
        }
    },
    routes: [{
            path: '/',
            name: 'home',
            component: () => import('@/views/Home.vue'),
            meta: {
                pageTitle: 'Home',
                breadcrumb: [{
                    text: 'Home',
                    active: true,
                }, ],
            },
        },
        {
            path: '/second-page',
            name: 'second-page',
            component: () => import('@/views/SecondPage.vue'),
            meta: {
                pageTitle: 'Second Page',
                breadcrumb: [{
                    text: 'Second Page',
                    active: true,
                }, ],
                requiresAuth: true,

            },
        },
        {
            path: '/permission',
            name: 'permission',
            component: () => import('@/views/permission.vue'),
            meta: {
                pageTitle: '權限',
                breadcrumb: [{
                    text: '權限',
                    active: true,
                }, ],
                requiresAuth: true,

            },
        },
        {
            path: '/table/bs-table',
            name: 'table-bs-table',
            component: () => import('@/views/table/bs-table/Table.vue'),
            meta: {
                pageTitle: 'BS Table',
                breadcrumb: [{
                        text: 'Table',
                    },
                    {
                        text: 'BS Table',
                        active: true,
                    },
                ],
                requiresAuth: true,
            },
        },
        {
            path: '/table/vue-good-table',
            name: 'vue-good-table',
            component: () => import('@/views/table/vue-good-table/GoodTable.vue'),
            meta: {
                pageTitle: 'Good Table',
                breadcrumb: [{
                        text: 'Table',
                    },
                    {
                        text: 'Good Table',
                        active: true,
                    },
                ],
                requiresAuth: true,
            },
        }, {
            path: '/message-board',
            name: 'message-board',
            component: () => import('@/views/messageBoard.vue'),
            meta: {
                pageTitle: '留言板',
                breadcrumb: [{
                    text: '留言板',
                    active: true,
                }, ],
            },
        },
        {
            path: '/pages/blog/list',
            name: 'pages-blog-list',
            component: () => import('@/views/pages/blog/BlogList.vue'),
            meta: {
                pageTitle: 'Blog列表',
                breadcrumb: [{
                    text: '列表',
                    active: true,
                }, ],
            },
        },
        {
            path: '/pages/blog/post',
            name: 'pages-blog-post',
            component: () => import('@/views/pages/blog/BlogPost.vue'),
            meta: {
                pageTitle: 'Blog發布',
                breadcrumb: [{
                        text: '列表',
                        to: '/pages/blog/list',
                    },
                    {
                        text: '發布',
                        active: true,
                    },
                ],
            },
        },
        {
            path: '/pages/blog/edit/:id',
            name: 'pages-blog-edit',
            component: () => import('@/views/pages/blog/BlogEdit.vue'),
            meta: {
                pageTitle: 'Blog編輯',
                breadcrumb: [{
                        text: '列表',
                        to: '/pages/blog/list',
                    },
                    {
                        text: '編輯',
                        active: true,
                    },
                ],
                requiresAuth: true,
            },
        },
        {
            path: '/pages/blog/:id',
            name: 'pages-blog-detail',
            component: () => import('@/views/pages/blog/BlogDetail.vue'),
            meta: {
                pageTitle: 'Blog內文',
                breadcrumb: [{
                        text: '列表',
                        to: '/pages/blog/list',
                    },
                    {
                        text: '內文',
                        active: true,
                    },
                ],
            },
        },
        {
            path: '/login',
            name: 'login',
            component: () => import('@/views/Login.vue'),
            meta: {
                layout: 'full',
            },
        },
        {
            path: '/not-authorized',
            name: 'not-authorized',
            component: () => import('@/views/error/NotAuthorized.vue'),
            meta: {
                layout: 'full',
            },
        },
        {
            path: '/error-404',
            name: 'error-404',
            component: () => import('@/views/error/Error404.vue'),
            meta: {
                layout: 'full',
            },
        },
        {
            path: '*',
            redirect: 'error-404',
        },
    ],
}
export const _ = undefined
