Template Config

You can edit this file at [ ../src/config.js ]

Option

Default

Data Type

Description

gridSpacing

3

number

set grid spacing

drawerWidth

280

number

set drawer width

theme

light

String

light, dark

rtlLayout

false

boolean

false, true

i18n

en

String

en - English

fr - français

ro - Română

zh - 中国人


export const gridSpacing = gridSpacing ;
export const drawerWidth = drawerWidth ;

// ==============================|| THEME CONFIG  ||============================== //

const config = {
 /**
   * the props used for default theme palette mode
   * explore the default theme
   * below theme options -
   * 'light' (default)
   * 'dark'
   */
  theme: 'light',

  /**
   * the props used for default theme direction
   * explore the default theme
   * below theme options -
   * 'false' (default)
   * 'true'
   */
  rtlLayout: false,

  /**
   * The props used for display menu-items with multi-language.
   * We provide static below languages according to 'react-intl' options - https://www.npmjs.com/package/react-intl
   * 'en' (default)
   * 'fr'
   * 'ro'
   * 'zh'
   */
  i18n: 'en'
};

export default config;

VITE_APP_VERSION = Version of app
...
...

Last updated