zhangjie 4 năm trước cách đây
mục cha
commit
3042d95bea
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/routers/index.js

+ 4 - 1
src/routers/index.js

@@ -35,7 +35,10 @@ export default new Router({
     {
       path: "*",
       name: "404",
-      component: NotFound
+      component: NotFound,
+      meta: {
+        noRequire: true
+      }
     }
     // [lazy-loaded] route level code-splitting
     // {