首页 > 编程知识 正文

vue-admin-beautiful(vue element admin 动态菜单)

时间:2023-05-04 02:32:43 阅读:85050 作者:3863

vue元素管理员

本项目的定位是后台集成方案,不适合作为基础模板进行开发。 建议使用vue管理员模板、桌面端电子管理模板

v4.0的正式发行版。

巨大的变化

调整基于vue-cli@3的生成项目的目录结构后的mock文件移动到根目录下,layout从views文件夹移动到src下,使用了最新的eslint-plugin-vue@5。 重新格式化的代码现在可以在remove routes中更新husky@1.3.1而无需更新页面。 添加了jest单元测试,添加了NPM运行预览、NPM运行测试: uni和NPM运行新建命令,并使用了新的mock方法。 解决了以前mock的几个问题的vuex启用了模块化namespaced添加了settings.js,配置了sidebarLogo、fixedHeader、TagsViews等添加了sidebarLogo并添加了侧栏另外,如果辅助菜单的内容过多,为了支持滚动,请使用async/await代替promise代码,添加标题搜索组件#1591,然后使用fear ure [ tags view ]进行编辑删除了树表。由于element-ui v2.7.0开始支持树表,因此不再进行独立维护。 添加权限配置添加用于导出demo多级标头excel的demo feature [直接] : add auto-heighttabledirectiveroadmap

更好的多级页面缓存:当前页面缓存基于keep-alive,但如果嵌套了3级路由,则支持较差。 之后,寻找更好的解决方案。 单元测试:项目做大后,没有单元测试进行维护还是很吃力的。 然后,逐渐添加单元测试用例。 酌情加入一些e2e-test的例子。 去国际化:其实大部分人不需要国际化,默认删除国际化。 单独打开国际化的分支。 适合webpack5:webpack5解决了很多以前的痛处。 正式版发布后,升级vue 3.0 :正式版发布后,根据新版本重新构建thev 4.0版本。

断开变更

buildbasedonvue-CLI @3adjustedthedirectorystructuremockfilemovetorootdirectorylayoutfromtheviewsfoldertosrcreformattedthecoooo @5youcannowremoverouteswithoutrefreshingthepage.updated husky @1.3.1addedjestunittestadded NPM run test : uni,npmrunenent solvedsomeproblemswiththepreviousmockvuexusenamespacedaddedsettings.jstomakesidebarlogo,固定头,标签视图, etc.configurableaddsidebarlogorefactoredthesidebarcodelogicandoptimizedthestyleandunfoldingtheanimationuseasync/wait add heheate 1591 addfearure : addaffixporperty # 1577移动树-表.元素- uiv 2.7.0 search.0 soitisnolongermaintainedindependently.addedpermissionconfigurationdo 电子元件-管理员c 963 f 56686 b 9731 a 517 a 17c 4d 562 BC 3da 0f a 3771附加媒体出口多媒体[直接] 3331

better multi-levelpagecaching 3360 thecurrentpagecacheisbasedonkeep-alive,butwhenthethree-levelroutingisnested, thesupportisnotgood.thenexploreabettersolution .单元测试3360 whentheprojectisbig、 isstillalittledifficulttomaintainwithoutunittesting.the unit-testtestcasewillbeaddedslowly.addsomexamplesofe 2e-testastillle ct,mostpeopledonotneedtobei 18 n.open ai18 NBranchseparately.adapting web包53360 web包5 Stillsolvesalotofpaintsbefore, theupgradewillbeupgradedaftertheofficialversionisreleased.vue 3.0:vue 3.0: refactoringbasedonthenewversionafteroficialreased :反射式基础架构

vue-element-admin 4.0.0正式版发行-开源中国

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。