Skip to content

rich-lab/umi-preset-mobile

Repository files navigation

umi-preset-mobile

The mobile plugins for umi.

NPM version NPM downloads

usage

Install

# by npm
$ npm install umi-preset-mobile
# by yarn
$ yarn add umi-preset-mobile

set umi config

// config/config.(j|t)s or .umirc.(j|t)s
{
  // ...other configs
  hd: {
    mode: 'flex',
  },
}