起步

项目开发第一天

项目创建

  1. 使用Umi Max创建项目

  2. 配置UnoCSS并增加预设

遇到问题

  1. Umi Max 使用layout:'mix'后没有头部菜单

    配置混合菜单时,需要将ProLayout组件的layout属性设置为mix,并设置属性splitMenus: true分离头部和侧边栏菜单

  2. 一直报错的信息为解决

DANGER

Warning: findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node