diff --git a/.gitignore b/.gitignore index 9322b8a6..ba56a3e1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ dist/ npm-debug.log* yarn-debug.log* yarn-error.log* +/yarn.lock **/*.log test/unit/coverage diff --git a/src/router/index.js b/src/router/index.js index a4a71e46..808e5443 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -78,6 +78,19 @@ export const constantRouterMap = [ } ] }, + { + path: '/gift', + component: Layout, + // redirect: '/documentation/index', + children: [ + { + path: 'list', + component: () => import('@/views/documentation/index'), + name: 'Documentation', + meta: { title: 'Gift List', icon: 'documentation', affix: true } + } + ] + }, { path: '/documentation', component: Layout,