From bc5acefc737bbb3b3a259c4075cc7d74d683943c Mon Sep 17 00:00:00 2001
From: wanchun <445436867@qq.com>
Date: Fri, 17 Jun 2022 12:52:28 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E6=9E=84layout?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/reference/plugin/plugins/layout.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/docs/reference/plugin/plugins/layout.md b/docs/reference/plugin/plugins/layout.md
index 5ab29502..2a809cac 100644
--- a/docs/reference/plugin/plugins/layout.md
+++ b/docs/reference/plugin/plugins/layout.md
@@ -70,6 +70,23 @@
```
+### 处理嵌套路由
+Fes.js 里约定目录下有 layout.vue 时会生成嵌套路由,以 layout.vue 为该目录的公共父组件,layout.vue 中必须实现 ``。如果嵌套路由下的页面设置了keep-alive,则需要用 `` 替换 ``
+
+```vue
+
+
+
+
+```
+
## 配置
#### 编译时配置方式