From d82a5e66ce303323b62a40ba8c4d3c3e31c0628d Mon Sep 17 00:00:00 2001
From: Logaxn <logaxn@foxmail.com>
Date: Mon, 11 Mar 2019 20:35:25 +0800
Subject: [PATCH] Signed-off-by: Logaxn <logaxn@foxmail.com>

---
 .gitignore          |  1 +
 src/router/index.js | 13 +++++++++++++
 2 files changed, 14 insertions(+)

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,