Reader small image

You're reading from  Enterprise React Development with UmiJS

Product typeBook
Published inMay 2022
Reading LevelIntermediate
PublisherPackt
ISBN-139781803238968
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Douglas Alves Venancio
Douglas Alves Venancio
author image
Douglas Alves Venancio

Douglas has a background in systems analysis and development, his passion is to help customers and the community solve problems. Over the past few years, he has mainly worked with digital products and innovation, delivering the best user experience with modern web applications.
Read more about Douglas Alves Venancio

Right arrow

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:

  1. We'll use the project we created in the previous chapter. Add the plugin-layout configuration to the config.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...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Enterprise React Development with UmiJS
Published in: May 2022Publisher: PacktISBN-13: 9781803238968

Author (1)

author image
Douglas Alves Venancio

Douglas has a background in systems analysis and development, his passion is to help customers and the community solve problems. Over the past few years, he has mainly worked with digital products and innovation, delivering the best user experience with modern web applications.
Read more about Douglas Alves Venancio