Setting up the layout and theme
In this section, we'll set up a default layout using plugin-layout
and customize our application theme, changing the default LESS variables used by antd
. To do that, follow these steps:
- We'll use the project we created in the previous chapter. Add the
plugin-layout
configuration to theconfig.ts
file as follows:layout: { navTheme: 'light', layout: 'mix', contentWidth: 'fluid', fixedHeader: false, fixSiderbar: true, colorWeak: false, title: 'Umi CRM', locale: true, pwa: false, logo: 'https://img.icons8.com/ios-filled/50/ffffff/ customer-insight.png', iconfontUrl: &apos...