diff --git a/README.md b/README.md index fa54b78495..6d01064b87 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ English | [简体中文](./README-zh.md) **Live demo:** http://panjiachen.github.io/vue-admin-template -**The current version is `v4.0+` build on `vue-cli`. If you want to use the old version , you can switch branch to [tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0), it does not rely on `vue-cli`** +**The current version is `v4.0+` build on `vue-cli`. If you want to use the old version, you can switch branch to [tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0), it does not rely on `vue-cli`**
SPONSORED BY
@@ -27,7 +27,7 @@ git clone https://github.com/PanJiaChen/vue-admin-template.git
# enter the project directory
cd vue-admin-template
-# install dependency
+# install dependencies
npm install
# develop
@@ -70,7 +70,7 @@ Refer to [Documentation](https://panjiachen.github.io/vue-element-admin-site/gui
## Extra
-If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)
+If you want router permission && generate menu by user roles, you can use this branch [permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)
For `typescript` version, you can use [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))
diff --git a/src/router/index.js b/src/router/index.js
index 13459e90e2..d3d1681d67 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -7,21 +7,21 @@ Vue.use(Router)
import Layout from '@/layout'
/**
- * Note: sub-menu only appear when route children.length >= 1
+ * Note: sub-menu only appears when route children.length >= 1
* Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
*
- * hidden: true if set true, item will not show in the sidebar(default is false)
- * alwaysShow: true if set true, will always show the root menu
- * if not set alwaysShow, when item has more than one children route,
- * it will becomes nested mode, otherwise not show the root menu
- * redirect: noRedirect if set noRedirect will no redirect in the breadcrumb
- * name:'router-name' the name is used by