1 background system set up
Pull Ant Design Pro
Download: https://github.com/ant-design/ant-design-pro
Pull version 2.2.0:
Installation depends:
tyarn install
Start the service:
tyarn start
display:
2 Modify the logo and copyright
1, the overall layout of the page to find
src
Here are the layout of the file folder layouts
, layouts
below basic layout js
- BasicLayout.js
.
2. Find
render
the followingreturn
Found a return layout
:
discovery layout
uses a SiderMenu
component:
Click SiderMenu
components found to be a component of our definition:
3, components corresponding to modify
Find the corresponding SiderMenu
found below returns a div
:
display effect:
4, modify copyright
src
Here are the layout of the file folder layouts
, layouts
following a foot layout js
- Footer.js
.
display effect: