File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "version" : 2 ,
44 "alias" : " element-admin" ,
55 "builds" : [{ "src" : " **" , "use" : " @now/static" }],
6- "routes" : [{ "src" : " /.*" , "dest" : " /index.html" }]
6+ "routes" : [
7+ { "src" : " ^/js/(.*)" , "dest" : " /js/$1" },
8+ { "src" : " ^/css/(.*)" , "dest" : " /css/$1" },
9+ { "src" : " ^/fonts/(.*)" , "dest" : " /fonts/$1" },
10+ { "src" : " ^/img/(.*)" , "dest" : " /img/$1" },
11+ {
12+ "src" : " ^/(favicon|manifest|precache|service-worker|robots)(.*)" ,
13+ "dest" : " /$1$2"
14+ },
15+ { "src" : " /.*" , "dest" : " /index.html" }
16+ ]
717}
Original file line number Diff line number Diff line change 99 >
1010 <el-menu-item index =" /" >首页</el-menu-item >
1111 <template v-if =" user .id " >
12- <el-submenu index =" /example" >
12+ <el-submenu index =" /example" :show-timeout = " 100 " :hide-timeout = " 0 " >
1313 <template slot="title">示例模块</template >
1414 <el-menu-item index =" /example" >列表页</el-menu-item >
1515 <el-menu-item index =" /example/new" >表单页</el-menu-item >
Original file line number Diff line number Diff line change 1111 href =" https://github.com/codetrial/vue-cli-plugin-element"
1212 >@codetrial/vue-cli-plugin-element</a >
1313 </p >
14- <p >开发人员:
14+ <p >
15+ 开发人员:
1516 <a target =" _blank" href =" https://github.com/felixpy" >felixpy@github</a >
1617 </p >
1718 <h4 >项目描述</h4 >
1819 <p >这是一个使用 Vue CLI 3 及 ElementUI 开发的轻量级后台管理系统项目架构。如果你觉得有帮助,还请多多反馈!</p >
1920 <p >麻雀虽小,五脏俱全。下面是它的一些主要特点。</p >
2021 <p >
21- <b >- 最小依赖</b >:仅依赖 Vue 官方库及 ElementUI 组件库,未额外引入其它第三方库,为你提供自由发挥的空间。
22+ <b >最小依赖</b >:仅依赖 Vue 官方库及 ElementUI 组件库,未额外引入其它第三方库,为你提供自由发挥的空间。
2223 </p >
2324 <p >
24- <b >- 目录结构</b >:根据项目实战经验,设计了合理、清晰的目录结构。
25+ <b >目录结构</b >:根据项目实战经验,设计了合理、清晰的目录结构。
2526 </p >
2627 <p >
27- <b >- 布局体系</b >:使用 Vue Router 嵌套路由及 ElementUI 内置组件进行布局。
28+ <b >布局体系</b >:使用 Vue Router 嵌套路由及 ElementUI 内置组件进行布局。
2829 </p >
2930 <p >
30- <b >- 数据处理</b >:添加独立的 api 及 service 层,将业务逻辑从组件中抽离。
31+ <b >数据处理</b >:添加独立的 api 及 service 层,将业务逻辑从组件中抽离。
3132 </p >
3233 <p >
33- <b >- 权限控制</b >:为路由添加配置式拦截器,默认支持用户登录鉴权及角色鉴权。
34+ <b >权限控制</b >:为路由添加配置式拦截器,默认支持用户登录鉴权及角色鉴权。
3435 </p >
3536 <p >
36- <b >- 列表示例</b >:一个相对比较完整的列表页示例,包含字段查询(过滤),字段排序,页码跳转,批量操作等等。
37+ <b >列表示例</b >:一个相对比较完整的列表页示例,包含字段查询(过滤),字段排序,页码跳转,批量操作等等。
3738 </p >
3839 <p >
39- <b >- 表单示例</b >:一个相对比较完整的表单页示例,包含表单校验、提交等操作。
40+ <b >表单示例</b >:一个相对比较完整的表单页示例,包含表单校验、提交等操作。
4041 </p >
4142 <p >
42- <b >- 错误页面</b >:内置简单的(其实是偷懒) 403、404 及 500 错误页。
43+ <b >错误页面</b >:内置简单的(其实是偷懒) 403、404 及 500 错误页。
4344 </p >
4445 </div >
4546 </el-card >
You can’t perform that action at this time.
0 commit comments